• 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!

Watering Can 0.3.6

oliverpadron86

New Member
Joined
Mar 1, 2018
Messages
40
Reaction score
0
function onUse(cid, item, fromPosition, itemEx, toPosition)
if (itemEx.itemid == 3984) then
doTransformItem(itemEx.uid, 3985)
doSendMagicEffect(toPosition, 5)
return true
elseif (itemEx.itemid == 2781) then
doTransformItem(itemEx.uid, 2782)
doSendMagicEffect(toPosition, 5)
return true
elseif (itemEx.itemid == 2737) or (itemEx.itemid == 2738) then
doTransformItem(itemEx.uid, 2739)
doSendMagicEffect(toPosition, 5)
return true
elseif (itemEx.itemid == 5463) or (itemEx.itemid == 5464) then
doTransformItem(itemEx.uid, 5466)
doSendMagicEffect(toPosition, 5)
return true
else
doPlayerSendCancel(cid, "You cannot use the watering can with this!")
end
return true
end

How i can make this works when a player/monster is above the cut grass
 
Back
Top