15.06.2009, 17:03
At OnPlayerDisconnect, change:
to:
And at dcmd_login:
to:
pawn Код:
udb_UserSetInt(PlayerName(playerid), GetPlayerMoney(playerid));
pawn Код:
udb_UserSetInt(PlayerName(playerid)).("money", GetPlayerMoney(playerid));
pawn Код:
GivePlayerMoney(playerid, udb_UserInt(PlayerName(playerid)) - GetPlayerMoney(playerid));
pawn Код:
GivePlayerMoney(playerid, udb_UserInt(PlayerName(playerid)).("money") - GetPlayerMoney(playerid));