player.giveWeapon
Description
Used to give a player a weapon based on a hash.
Syntax
giveWeapon(weaponHash: number, ammo: number, equipNow: boolean): void;
Real World Example
// Combat shotgun.
// 9999 Ammo
// Equip immediately
player.giveWeapon(0x5a96ba4, 9999, true);