Player::getAmmoInClip

From RAGE Multiplayer Wiki

Syntax

player.getAmmoInClip(weapon_hash);

Required Arguments

  • weapon_hash - Weapon hash

Return value

  • int

Example

let weapon_hash = mp.players.local.weapon;
let ammoClip = mp.players.local.getAmmoInClip(weapon_hash);