Help please
#4

Clearly if it should work.

PHP код:
//OnPlayerConnect 
ShowPlayerDialog(playeridDIALOG_LANGUAGEDIALOG_STYLE_MSGBOX"{0092FF}Bienvenido | Welcome""{FFFFFF}Por favor, elija el idioma en el que desea visualizar el servidor. | Please, select a language you would like to display this server.""Espaсol""English"); 
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])  
{  
    switch(
dialogid)  
    {  
        case 
DIALOG_LANGUAGE:  
        {  
            if(
response)   
            {  
                
player_Language[playerid] = 0;  
                
ShowPlayerDialog(playeridDIALOG_LANGUAGE_SUCCESSDIALOG_STYLE_MSGBOX"{0092FF}Ha configurado su idioma correctamente""{FFFFFF}Su cuenta ha sido establecido en {0092FF}espaсol. {FFFFFF}Si deseas cambiar el lenguaje, usa {0092FF}/lenguaje {FFFFFF}en cualquier momento.""Entiendo""");  
            } 
            else 
            { 
                
player_Language[playerid] = 1;  
                
ShowPlayerDialog(playeridDIALOG_LANGUAGE_SUCCESSDIALOG_STYLE_MSGBOX"{0092FF}You have successfully set your language""{FFFFFF}Your account has been set to {0092FF}inglйs. {FFFFFF}If you wish to change the language, type {0092FF}/language {FFFFFF}at any time.""Alright""");  
            } 
        } 
    }  
    return 
1;  

Reply


Messages In This Thread
Help please - by Jaua10 - 11.02.2019, 17:15
Re: Help please - by Volumen - 11.02.2019, 17:28
Re: Help please - by Jaua10 - 11.02.2019, 17:59
Re: Help please - by Volumen - 11.02.2019, 18:13
Re: Help please - by Jaua10 - 11.02.2019, 18:43
Re: Help please - by Volumen - 11.02.2019, 19:10
Re: Help please - by Jaua10 - 11.02.2019, 19:16
Re: Help please - by Florin48 - 11.02.2019, 19:19
Re: Help please - by TokicMajstor - 11.02.2019, 19:26
Re: Help please - by Jaua10 - 11.02.2019, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)