native cshop_register_item(id[], name[], price, limit = 0, sound[] = DEFAULT_SOUND, Float:duration = 0.0, points = 0, team = 0, flag[] = "")
id | Item short name (id). |
name | Item name. |
price | Item price. |
limit | Item limit. |
sound | Sound when buying the item. |
duration | If you want the item to be removed after X seconds, instead of right away. |
points | If you want to change the price with points. |
team | If you want it to be available for a specific team only. |
flag | If you want only players with a specific flag to be able to buy the item. |
Registers a new item.
Item ID.
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.