10.04.2013, 08:51
I got a dealership system and the save in the player account like that:
Can anyone convert it to something like that way:
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);