Weapon.GetNextSecondaryFire

From GMod Wiki

Jump to: navigation, search


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



Examples

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


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox