Skip to main content

GET_AMMO_IN_CHAR_WEAPON

Game.GetAmmoInCharWeaponHash0x23E140A9
Usage
local ammo = Game.GetAmmoInCharWeapon(charIndex, weaponType)

Return the amount of ammo a character has for a weapon.

Parameters

  • charIndexintegerint
  • weaponTypeintegerint

Returns

  • ammointegerint*
Original declaration
// 0x23E140A9
void GET_AMMO_IN_CHAR_WEAPON(int charIndex, int weaponType, int* ammo);