rg_drop_item

Syntax

native rg_drop_item(const index, const item_name[]);

Usage

index
Client index
item_name
Item classname, if no name, the active item classname

Description

Forces the player to drop the specified item classname.

Return

Entity index of weaponbox, AMX_NULLENT (-1) otherwise