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