[ Ajuda ] Inputtext
#1

Estou com uns erros aqui .. alguem me ajuda? Cуdigo:
pawn Код:
if(dialogid == XXXXX)
    {
        if(response)
        {
            if(strlen(inputtext))
            {
                new test[128];
                format(test, sizeof(test), "/XXXXX/XXXXX.ini");
                new oi = dini_Int(test, "XXXXX");
                format(string, sizeof(string), "{FFFAFA}O Saldo atual do cofre й: {32CD32}%dR$\n{FFFAFA}Digite a quantia a sacar:", oi);
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, CPublicoSacar, DIALOG_STYLE_INPUT, "Cofre XXXXX - 'Sacar'", string, "Sacar", "Fechar");
                GivePlayerMoneyEx(playerid, inputtext);
                format(string, sizeof(string), "* Vocк sacou %dR$ do Cofre XXXXX.", inputtext);
                SendClientMessage(playerid, Verde, string);
                dini_IntSet(test, "XXXXX", oi - inputtext);
            }
        }
    }
erros;
pawn Код:
C:\Users\Vitor\Desktop\Virtual World\gamemodes\Virtual.pwn(23269) : error 035: argument type mismatch (argument 2)
C:\Users\Vitor\Desktop\Virtual World\gamemodes\Virtual.pwn(23272) : error 033: array must be indexed (variable "inputtext")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
[ Ajuda ] Inputtext - by dPlaYer_ - 04.06.2012, 22:32
Re: [ Ajuda ] Inputtext - by @Riichard - 04.06.2012, 22:38
Re: [ Ajuda ] Inputtext - by ReDKiiL - 04.06.2012, 22:38
Re: [ Ajuda ] Inputtext - by CidadeNovaRP - 04.06.2012, 22:39
Re: [ Ajuda ] Inputtext - by dPlaYer_ - 04.06.2012, 22:43
Re: [ Ajuda ] Inputtext - by ReDKiiL - 04.06.2012, 22:50
Re: [ Ajuda ] Inputtext - by CidadeNovaRP - 04.06.2012, 22:52

Forum Jump:


Users browsing this thread: 2 Guest(s)