menu_cancel

Синтаксис

native menu_cancel(player);

Употреба

player
Client index.

Описание

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.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

Invalid client index.