How can I change this?
#1

Well, How can I change this type of Popup dialog into a basic dialog form?
Код:
CMD:lcm(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] >= 2) {
        if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,red,"ERROR: You already have a car.");
        else { ShowMenuForPlayer(LCars,playerid); return TogglePlayerControllable(playerid,false);  }
    } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this commandd");
}
Код:
  LCars = CreateMenu("~b~LethaL ~g~Cars", 2,  55.0, 150.0, 100.0, 80.0);
  SetMenuColumnHeader(LCars, 0, "Choose a car");
  AddMenuItem(LCars, 0, "Turismo");
  AddMenuItem(LCars, 0, "Bandito");
  AddMenuItem(LCars, 0, "Vortex");
  AddMenuItem(LCars, 0, "NRG");
  AddMenuItem(LCars, 0, "S.W.A.T");
  AddMenuItem(LCars, 0, "Hunter");
  AddMenuItem(LCars, 0, "Jetmax (boat)");
  AddMenuItem(LCars, 0, "Rhino");
  AddMenuItem(LCars, 0, "Monster Truck");
  AddMenuItem(LCars, 0, "Sea Sparrow");
  AddMenuItem(LCars, 0, "More");
  AddMenuItem(LCars, 0, "Return");

  LCars2 = CreateMenu("~b~LethaL ~g~Cars", 2,  55.0, 150.0, 100.0, 80.0);
  SetMenuColumnHeader(LCars2, 0, "Choose a car");
  AddMenuItem(LCars2, 0, "Dumper");
  AddMenuItem(LCars2, 0, "RC Tank");
  AddMenuItem(LCars2, 0, "RC Bandit");
  AddMenuItem(LCars2, 0, "RC Baron");
  AddMenuItem(LCars2, 0, "RC Goblin");
  AddMenuItem(LCars2, 0, "RC Raider");
  AddMenuItem(LCars2, 0, "RC Cam");
  AddMenuItem(LCars2, 0, "Tram");
  AddMenuItem(LCars2, 0, "Return");

Into this something like this Dialog.
Reply


Messages In This Thread
How can I change this? - by RayanIbrahim - 04.02.2018, 04:30
Re: How can I change this? - by ShadowMortar - 04.02.2018, 07:18
Re: How can I change this? - by Mugala - 04.02.2018, 09:07
Re: How can I change this? - by PepsiCola23 - 04.02.2018, 10:29

Forum Jump:


Users browsing this thread: 2 Guest(s)