• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Special Water! (Sample)

jpkulik

New Member
Joined
Mar 15, 2008
Messages
208
Reaction score
2
Hello guys!
Im making the Druid's addon, and there it the itens needed:
Required Equipment
* Sample of a Blooming Griffinclaw flower.
* Sample of Water from a hydra cave.
* 100 ounces of Demon Dust.
* Ceiron's Wolf Tooth Chain from Orc Fortress
For the Water from a hydra cave, i need this script;
When player use iten 2031 (waterskin) on water with unique,or actionID 2000, the player get a iten (7477) and the mensagem 'You Have colected a sample of water.

Please, can some one help me? :)
Cya fellas
 
I'm at school so I couldn't test it :p

PHP:
function onUse(cid, item, frompos, item2, topos)
	if item.itemid == 2031 and item2.uid == 2000 then
		doTransformItem(item.uid, 7477)
		doPlayerSendTextMessage(cid,25,"You have collected a Sample of Water.")
	end
	return TRUE
end

I hope it works

kind regards, Evil Hero
 
I'm at school so I couldn't test it :p

PHP:
function onUse(cid, item, frompos, item2, topos)
	if item.itemid == 2031 and item2.uid == 2000 then
		doTransformItem(item.uid, 7477)
		doPlayerSendTextMessage(cid,25,"You have collected a Sample of Water.")
	end
	return TRUE
end

I hope it works

kind regards, Evil Hero

Tankyou :D I will try it.
If there is any problem we talk on msn. Cya!
 
Back
Top