AMX Mod X API Documentation

Signature
native ns_get_weap_reserve(id, weapon);
Description

Gets the player's weapon reserve (backpack ammo) for the specified

type of weapon.

Notes
  • Use player index, not weapon index!
Parameters
  • id The player id to check ammo count on.
  • weapon The weapon type to check ammo count for.
Returns

The ammunition count in the player's reserve.

Назад
Верх