native

rg_remove_item

Syntax

native rg_remove_item(const index, const item_name[], const bool:removeAmmo = false);

Description

Removes the specified item classname from the player

Parameters

index Client index
item_name Item classname
removeAmmo Remove ammunition

Return

1 if found and remove, 0 otherwise