GetWeaponClipAmmo

From Multi Theft Auto: Wiki
Revision as of 09:34, 18 January 2014 by Zangomangu (talk | contribs)
Jump to navigation Jump to search
Accessories-text-editor.png 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