native

rg_has_item_by_name

Syntax

native bool:rg_has_item_by_name(const index, const item[]);

Description

Checks if the player has the item.

Parameters

index Client index
item Item name

Return

true if he does, false otherwise