Lumaktaw patungo sa pangunahing content

OnPlayerExitedMenu

Description​

This callback is 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, true); // unfreeze the player when they exit a menu
return 1;
}

The following callbacks might be useful, as they're related to this callback in one way or another.

The following functions might be useful, as they're related to this callback in one way or another.