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