warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.