SetWeaponClipAmmo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client function}} Set the ammo in a custom weapons magazine/clip. ==Syntax== <syntaxhighlight lang="lua">bool setWeaponClipAmmo ( weapon theWeapon, int clipAmmo )</syntaxhighlight> ===Required...") |
Cazomino05 (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
==See Also== | ==See Also== | ||
{{Client weapon functions}} | {{Client weapon creation functions}} |
Revision as of 10:48, 26 August 2012
Set the ammo in a custom weapons magazine/clip.
Syntax
bool setWeaponClipAmmo ( weapon theWeapon, int clipAmmo )
Required Arguments
- theWeapon: The weapon to set the clip ammo of.
- clipAmmo: The amount of ammo in the clip.
Returns
Returns true on success, false otherwise.
Requirements
This template will be deleted.
See Also
- createWeapon
- fireWeapon
- getWeaponAmmo
- getWeaponClipAmmo
- getWeaponFiringRate
- getWeaponFlags
- getWeaponOwner
- getWeaponProperty
- getWeaponState
- getWeaponTarget
- resetWeaponFiringRate
- setWeaponAmmo
- setWeaponClipAmmo
- setWeaponFiringRate
- setWeaponFlags
- setWeaponProperty
- setWeaponState
- setWeaponTarget