rg_switch_weapon
Syntax
native rg_switch_weapon(const index, const weapon);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
| weapon | Weapon entity-index |
Description
Forces the player to switch to a specific weapon.
Return
1 on success, 0 otherwise
native rg_switch_weapon(const index, const weapon);
| Parameter | Description |
|---|---|
| index | Client index |
| weapon | Weapon entity-index |
Forces the player to switch to a specific weapon.
1 on success, 0 otherwise