Jump to content

Hydra timer


DarkByte

Recommended Posts

Posted

Can someone help me to make a missile timer. When a player shoot a missle from hydra and then he will able to shoot after 5 seconds, how is this possible?

Posted
Can someone help me to make a missile timer. When a player shoot a missle from hydra and then he will able to shoot after 5 seconds, how is this possible?
addEventHandler 
'onVehicleWeaponFire' 
cancelEvent 
setTimer 
removeEventHandler' 
  
 

Posted
With a script please

test :#

addEventHandler('onVehicleWeaponFire',root, 
function () 
addEventHandler('onVehicleWeaponFire',root,cancelEvent) 
setTimer(function () removeEventHandler('onVehicleWeaponFire',root,cancelEvent) end ,5000,1) 
end 
) 

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...