menu_addtext

Синтаксис

native menu_addtext(menu, const text[], slot=1);

Употреба

menu
Menu resource identifier.
text
Text to add.
slot
1 (default) if the line should shift the numbering down.
0 if the line should be a visual shift only.

Описание

Adds a text line to a menu.  Only available in amxmodx 1.8.1 and above.

When using slot=1 this might break your menu. To achieve this functionality
menu_addtext2 should be used.

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

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

Грешка

Invalid menu resource.