Weapon.GetNextPrimaryFire

From GMod Wiki

Jump to: navigation, search


Function
Syntax Weapon:GetNextPrimaryFire( )
Description:
This function gets when the weapon can fire next set by Weapon.SetNextPrimaryFire.
Returns: Float
In Object: Weapon
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Weapon.GetNextPrimaryFire]Weapon.GetNextPrimaryFire [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGet the primary fire delay of active weapon.
Used onNewerClient.png
Code
LocalPlayer():GetActiveWeapon():GetNextPrimaryFire()
OutputNone


Additional info

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox