SetWeaponClipAmmo: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
==Requirements== | ==Requirements== | ||
{{Requirements|1.3.0- | {{Requirements|n/a|1.3.0-9.04555|}} | ||
==See Also== | ==See Also== | ||
{{Client weapon creation functions}} | {{Client weapon creation functions}} |
Revision as of 22:48, 10 September 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