cod_drop_weapon

Syntax

native cod_drop_weapon(id, const weaponName[] = "");

Usage

id
Player index
weaponName
Weapon name (in weapon_* format)

Description

Force player to drop weapon.
If weapon is not specified drops current weapon.

Return

This function has no return value.