(s)ection Posted May 2, 2014 Posted May 2, 2014 Hi, It is possible to change the counter of the molotov for 3 sec? Thanks.
Mr_Moose Posted May 3, 2014 Posted May 3, 2014 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.
Mr_Moose Posted May 3, 2014 Posted May 3, 2014 Well that's another thing then, not sure if that's possible but there are some ways to modify the weapon properties using this function: setWeaponProperty, but it won't be easy if it's even possible to do.
(s)ection Posted May 3, 2014 Author Posted May 3, 2014 Well that's another thing then, not sure if that's possible but there are some ways to modify the weapon properties using this function: setWeaponProperty, but it won't be easy if it's even possible to do. Thanks for you help.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now