OnPlayerExitedMenu

Description

Called when a player exits a menu.

NameDescription
playeridThe 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;
}

Related Functions