menu_addtext2

Синтаксис

native menu_addtext2( menu, const text[] );

Употреба

menu
Menu resource identifier.
text
Text to add.

Описание

Adds a text line to a menu, always shifting the numbering down.

This will add a special item to create a blank line. It will affect the menu
item count and pagination. These items can be modified later but will ignore
access and item callback results.

Only available in 1.8.3 and above.

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

1 on success, 0 on failure.

Грешка

Invalid menu resource.
Too many items on non-paginated menu (max is 10)