Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventMouse(name, x, y)
- local abs = math.abs
- local cos = math.cos
- local sin = math.sin
- -- local tan = math.tan
- local ceil = math.ceil
- local sqrt = math.sqrt
- add = tfm.exec.addShamanObject
- for k=0.01, 6.28, 0.157 do
- add(0, x+ceil(100*cos(k)), y-ceil(100*(sin(k) + sqrt(abs(cos(k))))), 0, 0, 0, 0, nil)
- end
- end
- function eventNewPlayer(name)
- system.bindMouse(name, true)
- end
- for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement