error 035: argument type mismatch (argument 1)
#2

The reason you are getting those errors is because when you're loading the data with strings, you have to specify the string size.

Right now, your loading code looks like this;
pawn Код:
INI_String(airlinefile, "GarudaLeader", FacInfo[1][facLeader]);
    INI_String(airlinefile, "GarudaMembers", FacInfo[1][facMembers]);
    INI_String(airlinefile, "GarudaStrikes", FacInfo[1][facStrikes]);
    INI_String(airlinefile, "Rank0", FacInfo[1][fRank0]);
    INI_String(airlinefile, "Rank1", FacInfo[1][fRank1]);
    INI_String(airlinefile, "Rank2", FacInfo[1][fRank2]);
//and the rest of the code..
But it should look like this;
pawn Код:
INI_String(airlinefile, "GarudaLeader", FacInfo[1][facLeader], 50);
    INI_String(airlinefile, "GarudaMembers", FacInfo[1][facMembers], 50);
    INI_String(airlinefile, "GarudaStrikes", FacInfo[1][facStrikes], 50);
    INI_String(airlinefile, "Rank0", FacInfo[1][fRank0], 50);
    INI_String(airlinefile, "Rank1", FacInfo[1][fRank1], 50);
    INI_String(airlinefile, "Rank2", FacInfo[1][fRank2], 50);
But you should replace the '50' with the string size you have for each variable.
Reply


Messages In This Thread
error 035: argument type mismatch (argument 1) - by nrg700 - 02.01.2014, 06:22
Re: error 035: argument type mismatch (argument 1) - by EiresJason - 02.01.2014, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)