native
rg_give_item
Syntax
native rg_give_item(const index, const pszName[], GiveType:type = GT_APPEND);
Description
Gives the player an item.
Parameters
| index | Client index |
|---|---|
| pszName | Item classname |
| type | Look at the enums with name GiveType |
Return
Index of entity if successfull, -1 otherwise