Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
On dini,
If i was to have like this:
dini_IntSet(file,"Money",GetPlayerMoney(playerid)) ;
dini_IntSet(file,"Score",GetPlayerScore(playerid)) ;
In the file it would be:
Money: MONEY
Score: SCORE
How do i get it on one line?
So like, Money: MONEY, Score: SCORE
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
Why you want to do this, this makes it mixed and hard to read in files!
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
Because what? It is not good for you...
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Because i want stats on one line for one player,
Cause it would be a big file to read through otherwise
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
I think its not possible because dini must read playername(string) then its alternative values which are not included I think
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
You can edit dini_IntSet and change the fwrite(fwhnd,"\r\n"); to whatever delimiter you want, but you'll face problems with dini_Get(), since fread() read lines, and you'll only have one huge line. Unless you edit dini_Gets, so It uses fgetchar()
Posts: 455
Threads: 44
Joined: Jan 2010
Reputation:
0
So its almost impossible to use alt vars