if is not working
#1

I already tried several ways but it does not work, it always goes to the next dialog.

PHP код:
    if(dialogid == 51)
    {
        if(
response)
        {
            if(
strlen(inputtext) < && strlen(inputtext) > && IsNumeric(inputtext))
            {
            
ShowPlayerDialog(playerid2DIALOG_STYLE_LIST"{33CCFF}Customizaзхes""{FFFF00}Veiculos customizados\n{33AA33}Clima\n{33AA33}Tempo da corrida\nTempo para iniciar a corrida\ntempo para os jogadores entra na corrida\nCriar Carro""Selecionar""Cancelar");
            
DOF2_SetInt(trackname,"TempoCorrida",strval(inputtext)*60000);
            }
            else
            {
            
ShowPlayerDialog(playerid51DIALOG_STYLE_INPUT"Tempo da corrida""Coloque o tempo da corrida. lembrando de 1 a 60 minutos!""Selecionar""");
            }
        }
        
//ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{33CCFF}Customizaзхes", "{FFFF00}Veiculos customizados\n{33AA33}Clima\n{33AA33}Tempo da corrida\nTempo para iniciar a corrida\ntempo para os jogadores entra na corrida\nCriar Carro", "Selecionar", "Cancelar");
    

Reply


Messages In This Thread
if is not working - by Marllun - 12.12.2017, 00:24
Re: if is not working - by RogueDrifter - 12.12.2017, 00:40
Re: if is not working - by Marllun - 12.12.2017, 00:55
Re: if is not working - by RogueDrifter - 12.12.2017, 01:03
Re: if is not working - by Marllun - 12.12.2017, 01:10
Re: if is not working - by DarkBr - 12.12.2017, 01:30
Re: if is not working - by Marllun - 12.12.2017, 01:35
Re: if is not working - by RogueDrifter - 12.12.2017, 01:38
Re: if is not working - by DarkBr - 12.12.2017, 01:39
Re: if is not working - by RogueDrifter - 12.12.2017, 01:44

Forum Jump:


Users browsing this thread: 1 Guest(s)