Amiroslo
Excellent OT User
- Joined
- Jul 28, 2009
- Messages
- 6,812
- Solutions
- 6
- Reaction score
- 822
i got a script that when u stand on a place and says ADMIN AMIR it tp u to the other side it like a code but it dont work when someone says ADMIN AMIR nothing happens
thats the script i use!!
rep++ for the fixer
Code:
local position = {x=2464,y=3367,z=7} --position is the pos where to stand,
local teleport = {x=2464,y=3365,z=7} --teleport is position where player is teleported
function onSay(cid, words, param, channel)
local p = getThingPos(cid)
if p.x ~= position.x or p.y ~= position.y or p.z ~= position.z then
return true
end
doTeleportThing(cid, teleport)
doSendMagicEffect(getThingPos(cid), 10)
return true
end
rep++ for the fixer