Jump to content

problem


MAB

Recommended Posts

Posted

not working... no debug messages.. no explosion or effect happens... showCursor works but idk about the events

function start() 
showCursor(true) 
addEventHandler("onClientClick",localPlayer,explosion) 
end 
addCommandHandler("ilovetoburn",start) 
  
function explosion (button,state,a,b,x,y,z) 
         if (button == "left" and state == "down") then 
               createExplosion (x,y,z,1,true,-2,true) 
               createEffect ("teargas",x,y,z) 
        end 
end 
  
function stop() 
showCursor(false) 
removeEventHandler("onClientClick",localPlayer,explosion) 
end 
addCommandHandler("ihatetoburn",stop) 

You can find me here.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...