ped.setWeaponClipAmmunition

Revision as of 07:35, 2 December 2020 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = method |class = Ped |name = setWeaponClipAmmunition |parameters = int weaponSlot, int clipAmmunition |parameter1 = int weaponSlot The w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

setWeaponClipAmmunition

Signature: void setWeaponClipAmmunition(int weaponSlot, int clipAmmunition)

Usage: set the clip weapon ammunition for a weapon slot for the ped

Parameters

int weaponSlot The weapon slot ID to set the clip ammunition for.
int clipAmmunition The amount of ammunition for the clip for the ped's specified weapon slot.

Return

void

On failure: void