Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Autor: Nettoork
- ]]--
- do
- local _, nickname = pcall(nil)
- author = string.match(nickname, "(.-)%.")
- end
- local id = 0
- eventMouse = function(name, x, y)
- local message, color = "0x"..math.random(000000,999999), nil
- if name == author then
- message = "Eu, "..name..", sou o mais poderoso da sala!"
- else
- message = "Eu, "..name..", sou apenas um noob ;("
- end
- id = id +1
- ui.addTextArea(id, message, nil, x, y, 0, 30, color, color, 0.5, false)
- end
- eventNewPlayer = function(name)
- system.bindMouse(name, true)
- end
- table.foreach(tfm.get.room.playerList, eventNewPlayer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement