menu_additem

Синтаксис

native menu_additem(menu, const name[], const info[]="", paccess=0, callback=-1);

Употреба

menu
Menu resource identifier.
name
Item text to display.
info
Item info string for internal information.
paccess
Access required by the player viewing the menu.
callback
If set to a valid ID from menu_makecallback(), the
callback will be invoked before drawing the item.

Описание

Adds an menu to a menu.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

Invalid menu resource.