darksta
New Member
- Joined
- Feb 10, 2010
- Messages
- 39
- Reaction score
- 0
Hello,
when I use the following scripts, sends me to a dark place and gives debug the ot
something bad with the scripts?
hope helps
when I use the following scripts, sends me to a dark place and gives debug the ot
something bad with the scripts?
hope helps
Code:
function onUse(cid, item, frompos, item2, topos)
if getPlayerVocation(cid) > 0 then -- city empadronarse
newpos = {x=701, y=737, z=8}
doPlayerSetMasterPos(cid, newpos)
doPlayerSendTextMessage(cid,22,"Now you live in New Island.")
doTeleportThing(cid,newpos)
doSendMagicEffect(newpos,12)
return 1
else
doPlayerSendTextMessage(cid,22,"Sorry, you dont have a vocation.")
return 0
end
end