19.05.2020, 07:44
Quote:
It should be, yes. But the thing is, you forgot to set 'arrayIndex' to 0.
Also, the sscanf part seems to be okay. |
Code:
{ fread(i_FileHandle, sz_FacPayStr); sscanf(sz_FacPayStr, "p<|>iiiiiii", FactionPay[arrayIndex][0], FactionPay[arrayIndex][1], FactionPay[arrayIndex][2], FactionPay[arrayIndex][3], FactionPay[arrayIndex][4], FactionPay[arrayIndex][5], FactionPay[arrayIndex][6]); arrayIndex, 0; }