Jump to content

help| weapon fire speed


scolen

Recommended Posts

Posted

You can do that using setWeaponProperty function. I haven't used it myself so I'm not familiar with it, but according to that page, you need to modify anim_loop_stop to increase the firing rate.

Posted
On 31/05/2023 at 16:39, DiSaMe said:

You can do that using setWeaponProperty function. I haven't used it myself so I'm not familiar with it, but according to that page, you need to modify anim_loop_stop to increase the firing rate.

Pretty sure it just creates an illusion of a quicker firing speed and not actually increasing the fire rate

you can make a rapid fire script you'd want to listen to the onClientPlayerWeaponFire event, and when it's fired, set a timer that triggers multiple shootings

  • 2 months later...
Posted

Use Thats Code
 

--== Script By ErroR (FullOffeD) ==--

local weaponID = 24

local newFireRate = 250 -- This sets the weapon to fire every 250 milliseconds (4 shots per second)

setWeaponProperty(weaponID, "poor", "fireRate", newFireRate)
setWeaponProperty(weaponID, "std", "fireRate", newFireRate)
setWeaponProperty(weaponID, "pro", "fireRate", newFireRate)

 

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