SA-MP Forums Archive
convert saves - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: convert saves (/showthread.php?tid=429567)



convert saves - Jack_Ryder - 10.04.2013

I got a dealership system and the save in the player account like that:

pawn Код:
dini_IntSet(string, "Car", PlayerInfo[playerid][pCarkey]);
            dini_IntSet(string, "Car2", PlayerInfo[playerid][pCarkey2]);
            dini_IntSet(string, "Car3", PlayerInfo[playerid][pCarkey3]);

Can anyone convert it to something like that way:
pawn Код:
format(var, 32, "Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var);



Re: convert saves - Jack_Ryder - 10.04.2013

anyone??