20.03.2011, 19:15
Okay, well. I don't know the right Code because I use Dini and MySQL only, here are 3 things to safe the Amount. I think one of them works
pawn Код:
fwrite(Filedirectory,ThePlayer[playerid][TheFunAmount];);
pawn Код:
new FunAmount;
FunAmount=ThePlayer[playerid][TheFunAmount];
fwrite(Filedirectory,FunAmount);
pawn Код:
new FunText[20];
format(Funtext,20,"%d",ThePlayer[playerid][TheFunAmount]);
fwrite(Filedirectory,Funtext);