Player::getAmmoInClip
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);
player.getAmmoInClip(weapon_hash);
let weapon_hash = mp.players.local.weapon;
let ammoClip = mp.players.local.getAmmoInClip(weapon_hash);