Housing system help..?
#2

First of all

Код:
format(fstring, 10, "Houses/%d", houseid);
%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:

Код:
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");
rep me if it helped
Reply


Messages In This Thread
Housing system help..? - by Scarred - 27.12.2011, 16:45
Re: Housing system help..? - by coole210 - 27.12.2011, 17:14

Forum Jump:


Users browsing this thread: 2 Guest(s)