Skip to main content

Weapons

Class Instance Methods​

Weapons.RegisterNew(weapon_id: number, base_weapon_id: number): boolean​

Registers a new weapon with the specified ID. Returns true if successful, false otherwise. To learn how to use this, see Adding New Weapons.

Weapons.UnregisterNew(weapon_id: number): boolean​

Unregisters a new weapon with the specified ID. Returns true if successful, false otherwise. To learn how to use this, see Adding New Weapons.