24.05.2009, 22:03
That code fixed one of the problems.
It set the backpack to 0 ... but still didn't give the player the money in his bank account.
Then this code got it working:
Thanks alot for your help m8.
It set the backpack to 0 ... but still didn't give the player the money in his bank account.
Then this code got it working:
pawn Code:
BankCash[playerid] = dUserINT(PlayerName(playerid)).("bankcash");
new Total = HasPackMoney[playerid] + BankCash[playerid];
dUserSetINT(PlayerName(playerid)).("bankcash", Total);
dUserSetINT(PlayerName(playerid)).("HasPackMoney", 0);