Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adminList={"Chumpyx", "Fairynette", "Hukkako"}
- function eventChatCommand(name,message)
- for adm, admin in pairs(adminList) do
- if message:sub(0,6) == "tptome" and name==admin then
- if tfm.get.room.playerList[message:sub(8)] then
- tfm.exec.movePlayer(message:sub(8), tfm.get.room.playerList[name].x, tfm.get.room.playerList[name].y)
- end
- end
- end
- end
- for name in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement