[Ajuda] warning 202: number of arguments does not match definition
#5

Da para fazer usando DIALOG_STYLE_LIST, e por as linguagens lб tipo:
PHP код:
ShowPlayerDialog(playeridDIALOG_LINGUAGEMDIALOG_STYLE_MSGBOX"Language/Linguagem/Lenguaje""Click 'OK' to select your language.\nClique em 'OK' para selecionar seu idioma.\nHaga clic en 'OK' para seleccionar su idioma.""OK"""); 
OnDialogResponse
PHP код:
if(dialogid == DIALOG_LINGUAGEM)
    {
        if(
response)
         {
              
ShowPlayerDialog(playeridDIALOG_ListaIdiomaDIALOG_STYLE_LIST"Language/Linguagem/Lenguaje""English\nPortuguкs\nEspaсol""OK""");
         }
    }
    
    if(
dialogid == DIALOG_ListaIdioma)
    {
        if(
response)
        {
            if(
listitem == 0// English
            
{
                  
// o que irб acontecer ao selecionar o idioma
            
}
            if(
listitem == 1// Portuguкs
            
{
                  
// o que irб acontecer ao seleciona o idioma
            
}
            if(
listitem == 2// Espaсol
            
{
                   
// o que irб acontecer ao seleciona o idioma
            
}
        }
    } 
Nгo esqueзa de definir a dialog
pawn Код:
#define DIALOG_ListaIdioma 1000 // 1000 para nгo haver conflitos
Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by NATANGameron - 17.03.2018, 14:02
Re: warning 202: number of arguments does not match definition - by Adiiti - 17.03.2018, 14:05
Re: warning 202: number of arguments does not match definition - by NATANGameron - 17.03.2018, 14:09
Re: warning 202: number of arguments does not match definition - by Adiiti - 17.03.2018, 14:19
Re: warning 202: number of arguments does not match definition - by AllanSG - 17.03.2018, 15:45

Forum Jump:


Users browsing this thread: 2 Guest(s)