mayel
New Member
What's wrong with this code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local voc = 1
local pos = {86,2039,7}
doPlayerSetVocation(cid, voc)
doTeleportThing(cid, pos)
return true
end
The teleport thing doesn't work, why?
function onUse(cid, item, fromPosition, itemEx, toPosition)
local voc = 1
local pos = {86,2039,7}
doPlayerSetVocation(cid, voc)
doTeleportThing(cid, pos)
return true
end
The teleport thing doesn't work, why?