menu_cancel

Cancels a player's menu, effectively forcing the player to select MENU_EXIT. The menu will still exist on their screen but any results are invalidated, and the callback is invoked.

Syntax

native menu_cancel(player)

Usage

player Client index.

Return

This function has no return value.

Errors

Invalid client index.

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