OnPlayerExitedMenu
From SA-MP Wiki
(Difference between revisions)
Revision as of 09:37, 26 May 2010 OKStyle (Talk | contribs) ← Previous diff |
Revision as of 19:48, 23 April 2014 Ikkentim (Talk | contribs) (Added return value) Next diff → |
||
Line 6: | Line 6: | ||
{{Parameters|playerid}} | {{Parameters|playerid}} | ||
{{Param|playerid|The ID of the player that exited the menu}} | {{Param|playerid|The ID of the player that exited the menu}} | ||
+ | |||
+ | {{NoReturnCallback}} | ||
<pawn> | <pawn> |
Revision as of 19:48, 23 April 2014
Description:
Called when a player exits a menu.
(playerid)
playerid | The ID of the player that exited the menu |
Return Values:
This callback does not handle returns.
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.
- OnPlayerSelectedMenuRow: 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.