Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- system.bindMouse("Thetroz")
- function matarjugador(player)
- name_x=tfm.get.room.playerList[player].x
- name_y=tfm.get.room.playerList[player].y
- tfm.exec.killPlayer(player)
- end
- function eventMouse(name, x, y)
- for player in pairs(tfm.get.room.playerList) do
- player_x=tfm.get.room.playerList[player].x
- player_y=tfm.get.room.playerList[player].y
- if x<player_x+20 and x>player_x-20 then
- if y<player_y+20 and y>player_y-20 then
- matarjugador(player)
- print("<N>Haz matado a "..player.."")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment