• 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!

Command Teleport tfs 1.1

Yea Bro SRY Talkactions player say !tp and teleport player to position x,y,z im have this script
Code:
function onSay(cid, words, param)
    pos = {x=249, y=268, z=7}

if exhaustion.check(cid, 7612) == TRUE then
return doPlayerSendCancel(cid, "Please wait "..exhaustion.get(cid,7612).." to next teleport.") and doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
end


    if getTileInfo(getPlayerPosition(cid)).protection then
        doSendMagicEffect(getPlayerPosition(cid),53)
      

        doTeleportThing(cid,pos)
exhaustion.set(cid, 7612, 5)
    else
      doPlayerSendCancel(cid, "Only in PZ.")
    end
    return true
end
Working on tfs 1.0 perfect
Im need to tfs 1.1
 
Back
Top