player.removeWeapon

Description

Used to remove a player weapon based on a weapon.

Check out the Weapon Table

Syntax

removeWeapon(weaponHash: number): void;

Real World Example

// Combat shotgun.
player.removeWeapon(0x5a96ba4);

results matching ""

    No results matching ""