Added tfc_get/setweaponammo to set ammo in weapon's clip (not backpack ammo)
This commit is contained in:
@ -118,4 +118,12 @@ native tfc_setbammo(index, ammo, value);
|
||||
native tfc_getweaponbammo(index, weapon);
|
||||
|
||||
/* Sets amount of ammo in weapon's clip (backpack) */
|
||||
native tfc_setweaponbammo(index, weapon, value);
|
||||
native tfc_setweaponbammo(index, weapon, value);
|
||||
|
||||
/* Returns amount of ammo in weapon's clip */
|
||||
/* Index must be weapon's entity index */
|
||||
native tfc_getweaponammo(index);
|
||||
|
||||
/* Sets amount of ammo in weapon's clip */
|
||||
/* Index must be weapon's entity index */
|
||||
native tfc_setweaponammo(index, value);
|
||||
|
Reference in New Issue
Block a user