Topperx Posted May 8, 2023 Share Posted May 8, 2023 Is there any way to change fires per seconds of weapons ? Link to comment
Shady1 Posted May 11, 2023 Share Posted May 11, 2023 On 08/05/2023 at 19:58, Topperx said: Is there any way to change fires per seconds of weapons ? use getWeaponProperty function setWeaponFireRate(weaponID, fireRate) local weapon = getWeaponProperty(weaponID, "poor", "maximum_clip_ammo") setWeaponProperty(weaponID, "pro", "maximum_clip_ammo", weapon/fireRate) end setWeaponFireRate(22, 3) -- Changes the fire rate of the pistol to shoot 3 rounds per second. Link to comment
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