GetPlayerMenu

From SA-MP Wiki

Jump to: navigation, search

GetPlayerMenu


Gets the ID of the menu the player is currently viewing.


Parameters:
(playerid)
playeridThe ID of the player to check whether the menu is show for.


ReturnsThe ID of the player's currently shown menu


new Menu:CurrentMenu = GetPlayerMenu(playerid); // Store the player's current menu in 'CurrentMenu'

Related Functions

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


Related Callbacks

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

Personal tools