well i have a problem with citizenship script well this script takes me to temple and tells me that You are now a citizen of the town Nova but it wont make my recidence of that city
well i use a switch not a teleportfunction onUse(cid, item, frompos, item2, topos)
if item.uid == 7659 then
doPlayerSendTextMessage(cid,22,"You are now a citizen of the town Nova.")
playerpos = getPlayerPosition(cid)
player = getThingfromPos(playerpos)
newpos = {x=435, y=483, z=7}
doTeleportThing(cid,newpos)
doSendMagicEffect(playerpos,12)
end
end