[Ajuda] Erros ao compilar;
#1

Procurei e procurei e nгo consegui achar o erro, alguem pode da um help?
(3447) : error 001: expected token: "=", but found "["
Код:
forward split(const strsrc[],strdest[],delimiter[]);
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

Код:
split(strFromFile2, arrCoords, ',');
Todo cуdigo:
Код:
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;
}
Reply


Messages In This Thread
Erros ao compilar; - by Leonardo192 - 27.03.2018, 00:15
Re: Erros ao compilar; - by JohnBlack - 27.03.2018, 00:32
Re: Erros ao compilar; - by Leonardo192 - 27.03.2018, 00:45
Re: Erros ao compilar; - by JohnBlack - 27.03.2018, 01:04
Re: Erros ao compilar; - by Leonardo192 - 27.03.2018, 01:18
Re: Erros ao compilar; - by Leonardo192 - 27.03.2018, 02:33
Re: Erros ao compilar; - by FerrariL - 27.03.2018, 12:00
Re: Erros ao compilar; - by Leonardo192 - 27.03.2018, 12:53
Re: Erros ao compilar; - by FerrariL - 27.03.2018, 12:57
Re: Erros ao compilar; - by Leonardo192 - 27.03.2018, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)