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.
Defined in newmenus.inc . This documentation was automatically generated from source.