GetWeaponClipAmmo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Zangomangu (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{Needs_Example}} | |||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
Line 11: | Line 12: | ||
===Returns=== | ===Returns=== | ||
Returns the amount of ammo in the custom weapons clip, false otherwise. | Returns the amount of ammo in the custom weapons clip, false otherwise. | ||
==See Also== | ==See Also== | ||
{{Client weapon creation functions}} | {{Client weapon creation functions}} |
Revision as of 09:34, 18 January 2014
Script Example Missing Function GetWeaponClipAmmo needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function gets the amount of ammo in a custom weapons magazine/clip.
Syntax
int getWeaponClipAmmo ( weapon theWeapon )
Required Arguments
- theWeapon: The weapon to get the clip ammo of.
Returns
Returns the amount of ammo in the custom weapons clip, false otherwise.
See Also
- createWeapon
- fireWeapon
- getWeaponAmmo
- getWeaponClipAmmo
- getWeaponFiringRate
- getWeaponFlags
- getWeaponOwner
- getWeaponProperty
- getWeaponState
- getWeaponTarget
- resetWeaponFiringRate
- setWeaponAmmo
- setWeaponClipAmmo
- setWeaponFiringRate
- setWeaponFlags
- setWeaponProperty
- setWeaponState
- setWeaponTarget