Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Project's author: Nettoork#0000
- ]]--
- function eventNewPlayer(name)
- system.bindMouse(name, true)
- end
- eventMouse = function(name, x, y)
- for player, info in next, tfm.get.room.playerList do
- if x >= info.x - 18 and x <= info.x + 18 and y >= info.y - 19 and y <= info.y + 19 then
- tfm.exec.killPlayer(player)
- if name == player then
- ui.addTextArea(1,"<B><p align='center'><R>[Killer]</R> <D>O jogador <V>"..player.."</V> se matou.", nil, 5, 380, 790, 0, 1, 1, 0.5, true)
- else
- ui.addTextArea(1,"<B><p align='center'><R>[Killer]</R> <D>O jogador <V>"..player.."</V> foi assasinado por <J>"..name.."</J>.", nil, 5, 380, 790, 0, 1, 1, 0.5, true)
- end
- end
- end
- end
- table.foreach(tfm.get.room.playerList, ev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement