Weapon.GetNextPrimaryFire
From GMod Wiki
Function | |
Syntax | Weapon:GetNextPrimaryFire( ) |
Description: | |
This function gets when the weapon can fire next set by Weapon.SetNextPrimaryFire. | |
Returns: | Float |
In Object: | Weapon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Weapon.GetNextPrimaryFire]Weapon.GetNextPrimaryFire [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Get the primary fire delay of active weapon. |
---|---|
Used on | |
Code | LocalPlayer():GetActiveWeapon():GetNextPrimaryFire() |
Output | None |
Additional info
- Only for use on scripted weapons.