Not save if not need.
#2

Try

pawn Код:
if(GetPlayerMoney(playerid) != dini_Int(file, "Moneys")){
dini_IntSet(file,"Moneys",GetPlayerMoneyA(playerid ));
}
It will save if the current player's money isn't the same as the one in the user file ( you can replace that with your variable for money ).
Reply


Messages In This Thread
Not save if not need. - by budelis - 08.07.2011, 09:17
Re: Not save if not need. - by Outcast - 08.07.2011, 09:27
Re: Not save if not need. - by budelis - 08.07.2011, 09:45

Forum Jump:


Users browsing this thread: 1 Guest(s)