14.02.2014, 21:16
GetPlayerMenu(playerid) will return last menu id which was showed to player, if I use HideMenuForPlayer and later use GetPlayerMenu, it will show last showed menu, while it should return invalid menu.
It can be easly tested by showing some menu to player, hide it, and then use this, and you will see your last menu,
CMD:test(playerid,params[])
{
ShowMenuForPlayer(GetPlayerMenu(playerid),playerid );
return 1;
}
It can be easly tested by showing some menu to player, hide it, and then use this, and you will see your last menu,
CMD:test(playerid,params[])
{
ShowMenuForPlayer(GetPlayerMenu(playerid),playerid );
return 1;
}