Lbtg
Advanced OT User
- Joined
- Nov 22, 2008
- Messages
- 2,398
- Reaction score
- 165
Hello can someone help me with this script i want to upgrade it so if player with Storage 3333 click it he gets teleported , but if player doesnt have the 3333 storage he gets message ' your not allowed to go here'
script here
Kind Regards
Lucas
script here
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 7966 then
if item.itemid == 8422 then
nplayer1pos = {x=1561, y=648, z=6}
doTeleportThing(cid,nplayer1pos)
doSendMagicEffect(nplayer1pos,10)
end
end
return 1
end
Kind Regards
Lucas