Write !code ~~~~ to get teleported to another position (you must stay on a special position). Change in the script. 
Script made by me.
Rep++ please if you like it / using it!
Please, don't post your own version here. Respect!
No hatin' please ;s

LUA:
function onSay(cid, words, param)
local oldPos = {x=680,y=267,z=5} -- you must stay here, write the right code, get teleported
local newPos = {x=685,y=267,z=5} -- to position
local player = getPlayerPosition(cid)
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The code is incorrect, please try again.")
return true
end
if(param == 'CODE HERE') then
if(player.x == oldPos.x and player.y == oldPos.y and player.z == oldPos.z) then
doSendMagicEffect(oldPos, 10)
doTeleportThing(cid,newPos)
doSendMagicEffect(newPos, 10)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The code is correct! Good job.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You are not on the right position.")
return true
end
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The code is incorrect, please try again.")
return true
end
return true
end
Script made by me.
Rep++ please if you like it / using it!

Please, don't post your own version here. Respect!
No hatin' please ;s
Last edited: