Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function spark(mousex, mousey, button, event)
- tpt.log("WORKS")
- if button==1 then
- tpt.log("WORKS2")
- if event==1 then
- tpt.log("WORKS3")
- tpt.create(mousex, mousey, 14)
- elseif event==3 then
- tpt.log("WORKS4")
- tpt.create(mousex, mousey, 14)
- end
- end
- end
- tpt.register_mouseclick(spark(mousex, mousey, button, event))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement