Slowmice

Castes object [LUA]

Sep 30th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. -- Created Flyer
  2. -- Thanks for the script :3
  3. lastObjId = 1
  4. for pName, player in pairs(tfm.get.room.playerList) do
  5.     system.bindMouse(pName, true)
  6. end
  7. function eventMouse(playerName, xPos, yPos)
  8.     tfm.exec.addShamanObject(3, xPos, yPos, 0, 0, 0, false)
  9.     lastObjId = lastObjId + 1
  10. end
  11. function eventPlayerDied(playerName)
  12.     tfm.exec.respawnPlayer(playerName)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment