02.01.2014, 09:31
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;
But it should look like this;
But you should replace the '50' with the string size you have for each variable.
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..
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);