[Ajuda] (variable "inputtext")
#1

Pessoal, estб dando o seguinte erro no cуdigo abaixo ;

error 033: array must be indexed (variable "inputtext")

na linha
pawn Код:
if(inputtext == 10)
pawn Код:
if(dialogid == D_UVA)
    {
        if(response)
        {
            if(inputtext == 10)
            {
                SendClientMessage(playerid, C_Agricultor, "- Vocк plantou 10 ъnidades de UVA, espere 30 segundos para a colheita iniciar.");
                SetTimerEx("PU", 30000, false, "i", playerid);
                return 1;
            }
        }
        else
        {
            ShowPlayerDialog(playerid, D_UVA, DIALOG_STYLE_INPUT, "{5678FF}Uva", "{FFFFFF}Digite a quantia de Uvas que vocк deseja plantar.", "Confirmar", "");
        }
        return 1;
   }
Reply
#2

pawn Код:
if(strval(inputtext) == 10)
{
Reply
#3

Obrigado Funeral.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)