ped.getWeaponAmmunition

Revision as of 07:31, 2 December 2020 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = method |class = Ped |name = getWeaponAmmunition |parameters = int weaponSlot |parameter1 = int weaponSlot The weapon slot ID to fetch t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

getWeaponAmmunition

Signature: void getWeaponAmmunition(int weaponSlot)

Usage: fetch the total weapon ammunition for a weapon slot for the ped

Parameters

int weaponSlot The weapon slot ID to fetch the total ammunition for.

Return

void

On failure: void