27.03.2018, 00:15
Procurei e procurei e nгo consegui achar o erro, alguem pode da um help?
(3447) : error 001: expected token: "=", but found "["
PH.pwn(3951) : error 012: invalid function call, not a valid address
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : error 001: expected token: ";", but found ")"
PH.pwn(3951) : error 029: invalid expression, assumed zero
PH.pwn(3951) : fatal error 107: too many error messages on one line
Todo cуdigo:
(3447) : error 001: expected token: "=", but found "["
Код:
forward split(const strsrc[],strdest[],delimiter[]);
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : warning 215: expression has no effect
PH.pwn(3951) : error 001: expected token: ";", but found ")"
PH.pwn(3951) : error 029: invalid expression, assumed zero
PH.pwn(3951) : fatal error 107: too many error messages on one line
Код:
split(strFromFile2, arrCoords, ',');
Код:
public LoadVip() { new arrCoords[3][64]; new strFromFile2[256]; new File: file = fopen("Configs/Vips.cfg", io_read); if (file) { new idx = 0; while(idx < sizeof(VipInfo)) { fread(file, strFromFile2); split(strFromFile2, arrCoords, ','); strmid(VipInfo[idx][vNome], arrCoords[0], 0, strlen(arrCoords[0]), 255); VipInfo[idx][vTipo] = strval(arrCoords[1]); VipInfo[idx][vDias] = strval(arrCoords[2]); idx++; } } fclose(file); return 1; }