Jump to content
  • 0

Intrebare precisa


eXtreMe96

Question

Am facut un fs cu vmenu

Asa Am facut diferite categori

Bicycles

Motorcycles

Monster trucks

Boats

Helicopters

Planes

Si acuma am dat sa fac categoria Cars si nu se primeste mie imi trebuie cind sa apas cars sa apara Speed cars lowriders dar cind apas imi apare masini dar mie imi trebuie sa imi apara categorii De exmplu intru in lowriders sa fie inuntru scirs blade banshee si cind apas sa descid masina dorita dar nu cind apas pe sppedcars sami descida masina dar cin categoriile

lol

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

eXtreme, trebuie sa mai faci o serie de meniuri...

Unul care se deschide cand alege Cars... (cu speed cars, lowriders)

Si inca o serie de meniuri pt fiecare alegere in parte :

Speed Cars: -> Infernus

                    -> Turismo

                    -> Tricicleta

Inteleseshi>?

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

#define DIALOG_VMENU 1
#define DIALOG_CARS 2
#define DIALOG_SPEED 3
#define DIALOG_LOW 4
#define DIALOG_POOP 5

//bla bla
ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, DIALOG_VMENU, "Vmenu", "Cars \nBla", "Alege", "impusca-te"); 

public OnPlayerDialogResponse

if( dialogid == DIALOG_VMENU )
{
   if( reponse )
   {
      switch(listitem)
      {
          case 0: ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, DIALOG_CARS, "Cars", "Speed \nLower \nPoop", "Bla", "nu");
          case 1: //bla   
      }
   }
}else if( dialogid == DIALOG_CARS )
{
   if( reponse )
   {
      switch(listitem)
      {
         case 0:ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, DIALOG_SPEED, "Speed", "Infernus \nBomboane", "da", "nu");
         case 1:ShowPlayerDialog(playerid, DIALOG_STYLE_LIST, DIALOG_LOW, "Lowriders", "bla \nBOM", "Dap", "Nu");
      }   
}
}else if( dialogid == DIALOG_LOW )
{
   if( reponse )
   {
      switch(listitem)
      {
            case 0: CreateVehicle
//etc
      }     
   }
}else if( dialogid == DIALOG_SPEED )
{
//la fel ca mai sus

}


Asta o sa-ti dea:

Vmenu -> Cars ->Speed ->Infernus

                                      ->Kkkt

                        ->Low    ->etc

                                      -> Etc

                     

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.