OnPlayerExitedMenu

OnPlayerExitedMenu

Description:
Callback OnPlayerExitedMenu is called when a player exits a menu.


Parameters:
(playerid)
int playerid The ID of the player that exited the menu.


Return Values:
This callback does not handle 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;
}


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.


Related Functions
The following functions may be useful, as they are related to this function in one way or another.