25.06.2012, 10:08
pawn Код:
new Float:money; GetPlayerMoney(playerid);
dini_FloatSet(file,"money", money);
new Float:score; GetPlayerScore(playerid);
dini_FloatSet(file,"score", score);
pawn Код:
new money; GetPlayerMoney(playerid);
dini_IntSet(file,"money", money);
new score; GetPlayerScore(playerid);
dini_IntSet(file,"score", score);
pawn Код:
SetPlayerScore(playerid, dini_Float(file, "score"));
GivePlayerMoney(playerid, dini_Float(file, "money")-GetPlayerMoney(playerid));
pawn Код:
SetPlayerScore(playerid, dini_Int(file, "score"));
GivePlayerMoney(playerid, dini_Int(file, "money")-GetPlayerMoney(playerid));