Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pew = {}
- part = "1;3,0,0,20,0,0,0,0,0"
- function Look(playerName, title)
- if title:find(part) then
- print(playerName)
- table.insert(pew,playerName)
- end
- end
- function eventLoop()
- tfm.exec.setUIMapName("Jugadores con el look "..part.." :"..table.concat(pew,", "))
- end
- function eventChatCommand (playerName, command)
- args = {}
- for arg in command:gmatch ("[^%s]+") do
- table.insert (args, arg)
- end
- if args[1] == "update" then
- pew = {}
- for pname,player in pairs(tfm.get.room.playerList) do
- Look(pname,tfm.get.room.playerList[pname].look)
- print(tfm.get.room.playerList[pname].look)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement