note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
OnPlayerExitedMenu
Description
This callback is 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, true); // unfreeze the player when they exit a menu
return 1;
}
Related Callbacks
The following callbacks might be useful, as they're related to this callback in one way or another.
- OnPlayerSelectedMenuRow: This callback is called when a player selected a row in a menu.
Related Functions
The following functions might be useful, as they're related to this callback in one way or another.
- CreateMenu: Create a menu.
- DestroyMenu: Destroy a menu.