natives.GIVE WEAPON TO CHAR

From GTA Connected
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