SHOW:
|
|
- or go back to the newest paste.
1 | - | tfm.exec.killPlayer("Wazt") |
1 | + | tfm.exec.newGame("@4556172") |
2 | - | tfm.exec.killPlayer("Safwanrockz") |
2 | + | for name,player in pairs(tfm.get.room.playerList) do |
3 | system.bindMouse(name, true) | |
4 | - | function table.contains(t,element) |
4 | + | |
5 | - | if element==nil then |
5 | + | |
6 | - | return false |
6 | + | function eventMouse(name, x, y) |
7 | if tfm.get.room.playerList[name].isShaman then | |
8 | - | for key,value in pairs(t) do |
8 | + | if tfm.get.room.playerList[name].isFacingRight then |
9 | - | if value==element then |
9 | + | tfm.exec.addShamanObject(19, x, y, 0, 0, 0, false) |
10 | - | return true |
10 | + | else |
11 | - | end |
11 | + | tfm.exec.addShamanObject(20, x, y, 0, 0, 0, false) |
12 | end | |
13 | - | return false |
13 | + | end |
14 | end |