OnPlayerExitedMenu

Tags: player menu

Description

Called when a player exits a menu.

Name Description
playerid The ID of the player that exited the menu

Returns

It is always called first in gamemode.

Examples

public OnPlayerExitedMenu(playerid)
{
    TogglePlayerControllable(playerid,1); // unfreeze the player when they exit a menu
    return 1;
}
  • CreateMenu: Create a menu.
  • DestroyMenu: Destroy a menu.