native

ns_set_weap_reserve

Syntax

native ns_set_weap_reserve(id,weapon,ammo);

Description

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

Parameters

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

Note

Use player index, not weapon index!

Return

This function has no return value.