ruth
Veteran OT User
- Joined
- Aug 3, 2009
- Messages
- 670
- Solutions
- 2
- Reaction score
- 380
Take a look what is wrong, it is wolcation tp.
Code:
function onStepIn(cid, item, frompos, item2, topos)
local vocation = getPlayerVocation(cid)
local nvtp = {x=32649, y=32141, z=11}
local vtp = {x=32648, y=32102, z=9}
if vocation == 1 then
doTeleportThing(cid, vtp, TRUE)
else
doTeleportThing(cid, nvtp, FALSE)
end
end