Skip to content

Set Weapon

Description

Sets the weapon of one or more Players.

		Cannot set to a weapon disabled via the settings menu.

Snippet

Set Weapon(Event Player, 0);

Properties

Returns: Void Parameters: ==Player==, ==Weapon==

==Player== Type: Player | Array (Player), Default: Event Player The player or players whose weapon will be set.

==Weapon== Type: Integer, Default: 0 The number of the weapon to be equipped. 1 Is the first weapon, and 2 is the second. If the specified weapon does not exist, players will use the default weapon.

Type to search…

↑↓ navigate↵ selectEsc close