Jump to content
  • 0

ShowPlayerDialog


Question

Posted

Salut,,As vrea sa stiu ce problema are comanda asta?? si daca e vreuna :'(

Iata comanda:

if((strcmp(cmdtext,"/credits",true) == 0) || (strcmp(cmdtext,"/creatori",true)==0))

{

    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Credits","CREDITS\n _____________________________Credits______________________________\n \

    \nGAMEMOD: ---> [Nr1]FANEX, [sRC]stuntman \n \

\nFilterscripts: ---> [bXb]ADI, [Nr1]FANEX \n\

\nMaps: ---> [Nr1]FANEX, [sRC]stuntman\n\

\nF-Systems: [Nr1]FANEX!\n\

\nForum|Site: [bXb]ADI!!\n\

\n*YouTube*: Search for Nr1FANEX and MegaADRIAN95!\n\

\nThank you for reading Credits","OK","Cancel");

}

else

    {

    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Creatori","CREATORI\n _____________________________Credite______________________________\n \

    \nGAMEMOD: ---> [Nr1]FANEX \n \

\nFilterscripts: ---> [Nr1]FANEX, [bXb]ADI \n \

\nMaps: ---> [Nr1]FANEX, [sRC]stuntman\n\

\nForum|Site: [bXb]ADI, [Nr1]FaneX\n\

\n*YouTube*: http://www.youtube.com/Nr1FANEX \n\

\nMultumim ca ati citit creditele","OK","Iesire");

    }

    return 1;

}

Nu inteleg...dc da mi se pare ca o erroare(chiar daca pot compila,inainte sa bag asta...mergeau toate comenzile, acum dupa ce am bagat asta imi da messaju de final OnPlayerCommandText ce lam pus...cel cu return SendClientMessaje(playerid,COLOR_RED,"SERVER:Nu Cunosc Comanda!Incearca /help!");

O sugestie? :P

2 answers to this question

Recommended Posts

Posted

'else' la ce? La comanda? Huh..

if((strcmp(cmdtext,"/credits",true) == 0) || (strcmp(cmdtext,"/creatori",true)==0))
{
    if(Language[playerid]==1)
   {
    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Credits","CREDITS\n _____________________________Credits______________________________\n \
    \nGAMEMOD: ---> [Nr1]FANEX, [SRC]stuntman \n \
   \nFilterscripts: ---> [bXb]ADI, [Nr1]FANEX \n\
   \nMaps: ---> [Nr1]FANEX, [SRC]stuntman\n\
   \nF-Systems: [Nr1]FANEX!\n\
   \nForum|Site: [bXb]ADI!!\n\
   \n*YouTube*: Search for Nr1FANEX and MegaADRIAN95!\n\
   \nThank you for reading Credits","OK","Cancel");
   }
   else
    {
    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Creatori","CREATORI\n _____________________________Credite______________________________\n \
    \nGAMEMOD: ---> [Nr1]FANEX \n \
   \nFilterscripts: ---> [Nr1]FANEX, [bXb]ADI \n \
   \nMaps: ---> [Nr1]FANEX, [SRC]stuntman\n\
   \nForum|Site: [bXb]ADI, [Nr1]FaneX\n\
   \n*YouTube*: http://www.youtube.com/Nr1FANEX \n\
   \nMultumim ca ati citit creditele","OK","Iesire");
    }
    return 1;
}

Posted

'else' la ce? La comanda? Huh..

if((strcmp(cmdtext,"/credits",true) == 0) || (strcmp(cmdtext,"/creatori",true)==0))
{
    if(Language[playerid]==1)
   {
    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Credits","CREDITS\n _____________________________Credits______________________________\n \
    \nGAMEMOD: ---> [Nr1]FANEX, [SRC]stuntman \n \
   \nFilterscripts: ---> [bXb]ADI, [Nr1]FANEX \n\
   \nMaps: ---> [Nr1]FANEX, [SRC]stuntman\n\
   \nF-Systems: [Nr1]FANEX!\n\
   \nForum|Site: [bXb]ADI!!\n\
   \n*YouTube*: Search for Nr1FANEX and MegaADRIAN95!\n\
   \nThank you for reading Credits","OK","Cancel");
   }
   else
    {
    ShowPlayerDialog(playerid,credits,DIALOG_STYLE_MSGBOX,"Creatori","CREATORI\n _____________________________Credite______________________________\n \
    \nGAMEMOD: ---> [Nr1]FANEX \n \
   \nFilterscripts: ---> [Nr1]FANEX, [bXb]ADI \n \
   \nMaps: ---> [Nr1]FANEX, [SRC]stuntman\n\
   \nForum|Site: [bXb]ADI, [Nr1]FaneX\n\
   \n*YouTube*: http://www.youtube.com/Nr1FANEX \n\
   \nMultumim ca ati citit creditele","OK","Iesire");
    }
    return 1;
}

l-am ajutat eu ...

Close topic!

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.