Signature
native menu_addblank2(menu);
Description
Adds a blank 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.
Returns
1 on success, 0 on failure.
Errors
-
Invalid menu resource.
Too many items on non-paginated menu (max is 10)