ns_set_weap_reserve

Syntax

native ns_set_weap_reserve(id,weapon,ammo);

Usage

id
The player id to set ammo count on.
weapon
The weapon type to set ammo count for.
ammo
The ammunition count to set.

Description

Sets the player's weapon reserve (backpack ammo) for the specified
type of weapon.

Note

Use player index, not weapon index!

Return

This function has no return value.