DIALOG_STYLE_LIST Problem
#1

i want to when players type /teleports show all teleports stunts, dms, drifts , dives, jumps on one Dialog menu

here is command which i made

Код:
if (strcmp("/limba", cmdtext, true, 10) == 0)
    {
    new Str1[ ] =   "Teleports  (/Teleports)\nStunts  (/stunts)\nJumps  (/jumps)\nNrgs  (/nrgs)\nTubes  (/tubes)\nAirports  (/airports)\nDives  (/dives)\nIslands  (/islands)\nDrifts  (/drifts) \n\
                     \n\
                     \n",
        Str2[ ] =   "\n\
                     \n\
                     \n",
        StrF[ 1500 ];

    format( StrF, sizeof StrF, "%s%s%s%s%s%s%s%s%s", Str1, Str2);
    ShowPlayerDialog( playerid, DIALOG_mixup, DIALOG_STYLE_LIST , "Whole Teleports", StrF, "OK", "CANCEL" );
    return 1;
    }
and Here is dailog list for this command

Код:
if(dialogid == DIALOG_mixup){
      if(response){
         switch(listitem){
         case 0:
         {
		 }

         case 1: 
         {
		 }

         case 2: 
         {
		 }

         case 3:
         {
		 }

         case 4:
         {
         }
         
         case 5:
         {
		 }
         case 6:
         {
         }

         case 7:
         {
         }

         case 8:
         {
         }
     }
  }
}


but i don't know how to add teleports dialog ids here :/

here is my teleport list id : DIALOG_Teleports

i try showplayerdialog but i was fail
Reply


Messages In This Thread
DIALOG_STYLE_LIST Problem - by Saleem - 11.07.2013, 10:33
Re: DIALOG_STYLE_LIST Problem - by Saleem - 11.07.2013, 11:05
Re: DIALOG_STYLE_LIST Problem - by DJRebis - 11.07.2013, 11:53
Re: DIALOG_STYLE_LIST Problem - by Saleem - 11.07.2013, 14:27
Re: DIALOG_STYLE_LIST Problem - by DJRebis - 11.07.2013, 14:31
Re: DIALOG_STYLE_LIST Problem - by Saleem - 11.07.2013, 14:35
Re: DIALOG_STYLE_LIST Problem - by DJRebis - 11.07.2013, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)