GOD Esteve
New Member
- Joined
- May 18, 2011
- Messages
- 87
- Reaction score
- 1
Hello guys i whant to make a script that is a action on a lever and when use this lever teleport the player to the TOWNID, i try that but don't work, can somebody help to use that? if in exitPos i put {x=45,y=45,z=7} work but i whant to take the TOWNID player and then teleport
function onUse (cid, item, pos)
exitPos = getPlayerTown(id) // and all get towns possible
doTeleportThing(cix, exitPos)
end
Whaiting for an happy answer
function onUse (cid, item, pos)
exitPos = getPlayerTown(id) // and all get towns possible
doTeleportThing(cix, exitPos)
end
Whaiting for an happy answer