WEAPON:CustomAmmoDisplay
Description
Allows you to use any numbers you want for the ammo display on the HUD.
Can be useful for weapons that don't use standard ammo.
Returns
1 table
The new ammo display settings. A table with 4 possible keys: (All default to -1)
- boolean Draw - Whether to draw the ammo display or not
- number PrimaryClip - Amount of primary ammo in the clip
- number PrimaryAmmo - Amount of primary ammo in the reserves
- number SecondaryAmmo - Amount of secondary ammo. It is shown like alt-fire for SMG1 and AR2 are shown.
- number SecondaryClip - Amount of secondary ammo in the clip. If set, the secondary ammo display will have clips and reserve ammo dispalyed.
Example
How it would look with standard information
Garry's Mod
Rust
Steamworks
Wiki Help