error 033: array must be indexed (variable
#3

Can you help me beause i dont understand what you wanna to say, i trying to make bank system whitout register/login and now i try to make /deposit command whit dialog and now i need help how to update, here are hole OnDialogRespone
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 2000)
    {
        if(response)
        {
          new file[128];
        new string[128];
      new name[MAX_PLAYER_NAME];
      GetPlayerName(playerid, name, sizeof(name));
            if(strlen(inputtext) == 0)
            {
            format(string, sizeof string, "Racun: %s\n\nNapisite iznos koji zelite staviti u banku:", name);
            ShowPlayerDialog(playerid, 2000, DIALOG_STYLE_INPUT, "Zagrebacka banka | ExtremePower", string, "Ok", "Odustani");
                return 0;
            }
            format(file,sizeof(file),"%s.ini",name);
            if(fexist(file))
            {
        new stringk[128];
                dini_IntSet(file,"Banka",strlen(inputtext));
                format(stringk, sizeof stringk, "%d", strlen(inputtext));
                PlayerInfo[playerid][Banka] +=stringk;
            }
        }
    }
    return 1;
}
Can you help me...?
Reply


Messages In This Thread
error 033: array must be indexed (variable - by DarkPower - 15.05.2010, 13:54
Re: error 033: array must be indexed (variable - by juice.j - 15.05.2010, 13:56
Re: error 033: array must be indexed (variable - by DarkPower - 15.05.2010, 14:00
Re: error 033: array must be indexed (variable - by juice.j - 15.05.2010, 14:06
Re: error 033: array must be indexed (variable - by DarkPower - 15.05.2010, 14:08
Re: error 033: array must be indexed (variable - by juice.j - 15.05.2010, 14:17
Re: error 033: array must be indexed (variable - by DarkPower - 15.05.2010, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)