17.06.2014, 21:41
dini_IntSet(file, "Money", Playerinfo[playerid][pCash]);
instead of
dini_IntSet(file, "Money", GetPlayerMoney(playerid));
under
instead of
dini_IntSet(file, "Money", GetPlayerMoney(playerid));
under
Код:
public OnPlayerDisconnect(playerid, reason) { dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]); dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][pAdminLevel]); dini_IntSet(file, "RobLevel",PlayerInfo[playerid][pRobRank]); dini_IntSet(file, "Money", GetPlayerMoney(playerid)); return 1; }