Signature
native rg_add_ammo_registry(const szAmmoname[]);
Description
Generates an ammo slot in game's logic
Notes
-
To see a visual effect, WeaponList message should be sent using the custom ammo name,
where ammo icon HUD will be the one listed in "sprites/weapon_
.txt" file. - Maximum ammo index is 31, after that every ammo instantiation will start from 1 overriding existing ones.
Parameters
- szAmmoname — Ammo name to create.
Returns
New ammo index. If name already exists, will return the matched index from memory.