Must be assigned to an array.
#1

pawn Код:
else if(dialogid == 4) {
        if(!response) {
            SendClientMessage(playerid, COLOR_RED, "You must register.");
            Kick(playerid);
        }
        format(string, sizeof(string), "Immigration Officer: Ah, you speak with an %s accent!", strpack(string2, inputtext));
        SendClientMessage(playerid, COLOR_WHITE, string);
        pInfo[playerid][Accent] = string2; //Line 351
        dini_IntSet(fileLoc, "Accent", string2); //Line 352
    }
Here's my error:
Quote:

C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (351) : error 006: must be assigned to an array
C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (352) : error 035: argument type mismatch (argument 3)

Reply


Messages In This Thread
Must be assigned to an array. - by jameskmonger - 18.12.2010, 17:16
Re: Must be assigned to an array. - by JaTochNietDan - 18.12.2010, 17:37
Re: Must be assigned to an array. - by jameskmonger - 18.12.2010, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)