cshop_register_item

Синтаксис

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.