Jump to content

Small question


Recommended Posts

What counter? You mean the time between each "throw"? If that's what you mean you may create a cooldowntimer:

cooldown = setTimer(function() end, 3000, 1) -- Timer object which will exist for 3 seconds 

After that you can check the event onClientWeaponFire and cancel it if the timer exist and the weapon is a molotov using

cancelEvent() 

Weapon id's can be found here. Good luck.

Link to comment

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