02.08.2011, 16:16
pawn Код:
format(string,sizeof(string),"/Accounts/Owners.txt",CarInfo[ID][CarOwner]);
dini_Create(string);
dini_Set(string,"Info:Owner",CarInfo[ID][CarOwner]);
dini_Set(string,"Info:CarName",Name);
You have a format(); but you have nothing to insert into "string"
pawn Код:
format(string,sizeof(string),"/Accounts/Owners/%s.txt",CarInfo[ID][CarOwner]);
dini_Create(string); //^^added
dini_Set(string,"Info:Owner",CarInfo[ID][CarOwner]);
dini_Set(string,"Info:CarName",Name);