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

How Add Exhaust

kokorec

Tavon Online - Soon
Joined
May 3, 2008
Messages
287
Reaction score
0
Location
Turkey
hi,
how i add exhaust this script?

Code:
function onUse(cid, item, frompos, item2, topos)

newnPosition  = {x=676, y=592, z=9}

if item.uid == 4000 and item.itemid == 1945 and doTeleportThing(cid,newnPosition) == 0 then
monster1pos = {x=676, y=589, z=9}
doSendMagicEffect(newnPosition,37)
doSummonCreature("Wyrm", monster1pos)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 4000 and item.itemid == 1946 and doTeleportThing(cid,newnPosition) == 0 then
monster1pos = {x=676, y=589, z=9}
doSendMagicEffect(newnPosition,37)
doSummonCreature("Wyrm", monster1pos)
doTransformItem(item.uid,item.itemid-1)

else
doPlayerSendCancel(cid,"Sorry,not possible.")
end
return 1
end

Thanks.
 
Back
Top