natives.GIVE WEAPON TO CHAR

From GTA Connected
Revision as of 09:18, 12 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

natives.GIVE_WEAPON_TO_CHAR

Signature: void natives.GIVE_WEAPON_TO_CHAR(int ped, int weapon, int ammo)

Usage: gives a weapon with a specified amount of ammunition to a character

Parameters

int ped Character handle to act upon.
int weapon Weapon type identifier.
int ammo Amount of ammunition.

Return

void

On failure: void