Signature
native menu_addtext2(menu, const text[]);
Description
Adds a text line to a menu, always shifting the numbering down.
Notes
-
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.
Parameters
- menu — Menu resource identifier.
- text — Text to add.
Returns
1 on success, 0 on failure.
Errors
-
Invalid menu resource.
Too many items on non-paginated menu (max is 10)