• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Script Problem.

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
 
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
[COLOR="red"]return true[/COLOR]
end
 
Back
Top