hello anyone tell me if there scrip toggle monster for vip
this is my scrip:
capernia style
this is my scrip:
Code:
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) > 8 and item.uid == 2323 and item.itemid == 9825 then
if (os.time() - getPlayerStorageValue(cid,2323) > 10*1) then
arena = {x=4462, y=4825, z=6}
doSummonCreature("dragon", {x=4459, y=4828, z=6})
doTeleportThing(cid,arena,0)
doSendMagicEffect(arena,10)
setPlayerStorageValue(cid,2323,os.time())
else
doPlayerSendCancel(cid,'waiting.')
doSendMagicEffect(topos,2)
end
else
doSendMagicEffect(topos,2)
end
return 1
end
Code:
<action uniqueid="2323" event="script" value="palanca.lua"/>
capernia style