Advertisement
LuaWeaver

ThirdForSpark.lua

Oct 13th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. function spark(mousex, mousey, button, event)
  2.     tpt.log("WORKS")
  3.     if button==1 then
  4.         tpt.log("WORKS2")
  5.         if event==1 then
  6.             tpt.log("WORKS3")
  7.             tpt.create(mousex, mousey, 14)
  8.         elseif event==3 then
  9.             tpt.log("WORKS4")
  10.             tpt.create(mousex, mousey, 14)
  11.         end
  12.     end
  13. end
  14.  
  15. tpt.register_mouseclick(spark(mousex, mousey, button, event))
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement