native

rg_drop_item

Syntax

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

Description

Forces the player to drop the specified item classname.

Parameters

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

Return

Entity index of weaponbox, AMX_NULLENT (-1) otherwise