add a "allowSprint" attribute (Boolean) to flashlight type attachment.
Basically it can be set to true, false or null. True/false forcing the attached gun to be able/unable to fire while sprinting, and null just let it go with the gun's setting.
This implementation should be helpful when making tactical laser, adding a tactical laser to your gun allows you to sprint firing, something like that.
add a "allowSprint" attribute (Boolean) to flashlight type attachment. Basically it can be set to true, false or null. True/false forcing the attached gun to be able/unable to fire while sprinting, and null just let it go with the gun's setting.
This implementation should be helpful when making tactical laser, adding a tactical laser to your gun allows you to sprint firing, something like that.