Brackets error (Pawno.exe has stopped responding)
#4

Aha, found the problem.
I needed to put them like this
Код:
stock LoadHouse(houseid)
{
	new string[10];
	format(string, 10, HousePath(houseid);
	if(!INI_Exists(string)) return 0;
	INI_Float(string, "EnterX",HouseInfo[houseid][pEnterX]);
	INI_Float(string, "EnterY",HouseInfo[houseid][pEnterY]);
	INI_Float(string, "EnterZ",HouseInfo[houseid][pEnterZ]);
	INI_Float(string, "ExitX",HouseInfo[houseid][pExitX]);
	INI_Float(string, "ExitY",HouseInfo[houseid][pExitY]);
	INI_Float(string, "ExitZ",HouseInfo[houseid][pExitZ]);
	INI_Int(string, "Inside Interior",HouseInfo[houseid][pInsideInt]);
	INI_Int(string, "Inside Virtual World",HouseInfo[houseid][pInsideVir]);
	INI_Int(string, "Outside Interor",HouseInfo[houseid][hOutsideInt]);
	INI_Int(string, "Outside Virtual World",HouseInfo[houseid][hOutsideVir]);
	INI_Bool(string, "Owned",HouseInfo[houseid][hOwned]);
	INI_Int(string, "Price",HouseInfo[houseid][hPrice]);
	INI_Int(string, "Locked",HouseInfo[houseid][hLocked]);
	INI_Int(string, "Owner",HouseInfo[houseid][hOwner]);
	return 1;
}
instead of the way it was with the = inbetween
Reply


Messages In This Thread
Brackets error (Pawno.exe has stopped responding) - by glbracer - 15.08.2012, 16:29
Re: Brackets error (Pawno.exe has stopped responding) - by Kirollos - 15.08.2012, 16:39
Re: Brackets error (Pawno.exe has stopped responding) - by glbracer - 15.08.2012, 17:21
Re: Brackets error (Pawno.exe has stopped responding) - by glbracer - 15.08.2012, 20:57

Forum Jump:


Users browsing this thread: 1 Guest(s)