HideMenuForPlayer

From SA-MP Wiki

Jump to: navigation, search

HideMenuForPlayer


Hides a menu for a player.


Parameters:
(menuid, playerid)
menuidThe ID of the menu to hide.
playeridThe ID of the player that the menu will be hidden for.


This function does not return a specific value.


if(strcmp(cmdtext, "/menuhide", true) == 0)
{
    new myMenu = GetPlayerMenu(playerid);
    HideMenuForPlayer(myMenu, playerid);
    return 1;
}

Related Functions

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

Personal tools
In other languages