27.12.2011, 17:14
First of all
%d is not a file, use "%d.ini"
and dini_Get, dini_Float and dini_Int use these parameters:
dini_Get(file,name);
So do it like this:
rep me if it helped
Код:
format(fstring, 10, "Houses/%d", houseid);
and dini_Get, dini_Float and dini_Int use these parameters:
dini_Get(file,name);
So do it like this:
Код:
strmid(HouseInfo[houseid][hOwner],dini_Get(fstring,"Owner"),0,255,255); HouseInfo[houseid][hVecZ] = dini_Float(fstring,"HV_PosZ"); HouseInfo[houseid][hVecA] = dini_Float(fstring,"HV_PosA");