rg_switch_weapon

Syntax

native rg_switch_weapon(const index, const weapon);

Usage

index
Client index
weapon
Weapon entity-index

Description

Forces the player to switch to a specific weapon.

Return

1 on success, 0 otherwise