[Help] - Too much error's
#1

I creating a House system with tutorial: https://sampforum.blast.hk/showthread.php?tid=179206 but I have too much error's (26+) and I can't continue with scripting. I using Y_INI, but in the tutorial is dini, but I fix that. There is stock where is problem. When I delete it, it's normal.

Код:
stock LoadHouse(houseid)
{
	new fstring[10];
	format(fstring, 10, "Kuce/%d", houseid);
	if(!INI_Exists(fstring)) return 0;
	HouseInfo[houseid][hEnterX] = INI_Float(fstring, "EnterX");
	HouseInfo[houseid][hEnterY] = INI_Float(fstring, "EnterY");
	HouseInfo[houseid][hEnterZ] = INI_Float(fstring, "EnterZ");
	HouseInfo[houseid][hExitX] = INI_Float(fstring, "ExitX");
	HouseInfo[houseid][hExitY] = INI_Float(fstring, "ExitY");
	HouseInfo[houseid][hExitZ] = INI_Float(fstring, "ExitZ");
	HouseInfo[houseid][hInsideInt] = INI_Int(fstring, "InsideInt");
	HouseInfo[houseid][hInsideVir] = INI_Int(fstring, "InsideVir");
	HouseInfo[houseid][hOutsideInt] = INI_Int(fstring, "OutsideInt");
	HouseInfo[houseid][hOUtsideVir] = INI_Int(fstring, "OutsideVir");
	HouseInfo[houseid][hOwned] = INI_Bool(fstring, "Kupljena") ? true : false;
	strmid(HouseInfo[houseid][hOwner], INI_Get(fstring, "Vlasnik"), 0, false, strlen(INI_Get("Owner")));
	HouseInfo[houseid][hPrice] = INI_Int(fstring, "Cijena");
	HouseInfo[houseid][hVehModel] = INI_Int(fstring, "HV_Model");
	HouseInfo[houseid][hVecX] = INI_Float(fstring, "HV_PosX");
	HouseInfo[houseid][hVecY] = INI_Float(fstring, "HV_PosZ");
	HouseInfo[houseid][hVecZ] = INI_Float(fstring, "HV_PosZ");
	HouseInfo[houseid][hVecA] = INI_Float(fstring, "HV_PosA");
 	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)