menu_addtext

Adds a text line to a menu.

Syntax

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

Usage

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

Return

This function has no return value.

Notes

When using slot=1 this might break your menu. To achieve this functionality

Errors

Invalid menu resource.

Defined in newmenus.inc at line 334 . This documentation was automatically generated from source.