to get a value from a var
#3

Код:
	for(new houseid = 0; houseid < MAX_HOUSES; houseid++)
	{
	  format(housefile, 200, "%d.txt", houseid);
	  if(dini_Exists(housefile))
			Houses[0][houseid] = CreatePickup(dini_Int(housefile, "Sold") == 0? NOT_SOLD : SOLD, 1, dini_Float(housefile, "X"), dini_Float(housefile, "Y"), dini_Float(housefile, "Z")),
			Houses[1][houseid] = CreatePickup(dini_Int(housefile, "Sold") == 0? NOT_SOLD : SOLD, 1, dini_Float(housefile, "InteriorX"), dini_Float(housefile, "InteriorY"), dini_Float(housefile, "InteriorZ"));
	}
Reply


Messages In This Thread
to get a value from a var - by RonLipel_ - 03.07.2009, 18:05
Re: to get a value from a var - by woot - 03.07.2009, 18:44
Re: to get a value from a var - by RonLipel_ - 03.07.2009, 18:47
Re: to get a value from a var - by Ignas1337 - 03.07.2009, 18:48
Re: to get a value from a var - by woot - 03.07.2009, 18:48
Re: to get a value from a var - by RonLipel_ - 03.07.2009, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)