Also ich poste mal alles was ich von showme riengetan habe.
new Menu:showme;
showme = CreateMenu("Color", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(showme, 0, "Grey");
AddMenuItem(showme, 0, "Purple");
AddMenuItem(showme, 0, "Darkblue");
AddMenuItem(showme, 0, "Yellow");
AddMenuItem(showme, 0, "Red");
AddMenuItem(showme, 0, "Green");
AddMenuItem(showme, 0, "Lightgreen");
AddMenuItem(showme, 0, "Orange");
AddMenuItem(showme, 0, "Lightyellow");
AddMenuItem(showme, 0, "Invisible");
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == showme)
{
switch(row)
{
case 0:
{
SetPlayerColor(playerid, COLOR_GREY);
SendClientMessage(playerid, COLOR_GREY, "Color");
TogglePlayerControllable(playerid, true);
}
case 1:
{
SetPlayerColor(playerid, COLOR_PURPLE);
SendClientMessage(playerid, COLOR_PURPLE, "Color");
TogglePlayerControllable(playerid, true);
}
case 2:
{
SetPlayerColor(playerid, COLOR_DBLUE);
SendClientMessage(playerid, COLOR_DBLUE, "Color");
TogglePlayerControllable(playerid, true);
}
case 3:
{
SetPlayerColor(playerid, COLOR_YELLOW);
SendClientMessage(playerid, COLOR_YELLOW, "Color");
TogglePlayerControllable(playerid, true);
}
case 4:
{
SetPlayerColor(playerid, COLOR_RED);
SendClientMessage(playerid, COLOR_RED, "Color");
TogglePlayerControllable(playerid, true);
}
case 5:
{
SetPlayerColor(playerid, COLOR_GREEN);
SendClientMessage(playerid, COLOR_GREEN, "Color");
TogglePlayerControllable(playerid, true);
}
case 6:
{
SetPlayerColor(playerid, COLOR_LIGHTGREEN);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Color");
TogglePlayerControllable(playerid, true);
}
case 7:
{
SetPlayerColor(playerid, COLOR_ORANGE);
SendClientMessage(playerid, COLOR_ORANGE, "Color");
TogglePlayerControllable(playerid, true);
}
case 8:
{
SetPlayerColor(playerid, COLOR_YELLOW2);
SendClientMessage(playerid, COLOR_YELLOW2, "Color");
TogglePlayerControllable(playerid, true);
}
case 9:
{
SetPlayerColor(playerid, TEAM_HIT_COLOR);
SendClientMessage(playerid, TEAM_HIT_COLOR, "invisible");
TogglePlayerControllable(playerid, true);
}
}
}