Signature
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
Returns
true if he does, false otherwise