Strange variable/player file problem
#6

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:
pawn Code:
BankCash[playerid] = dUserINT(PlayerName(playerid)).("bankcash");
    new Total = HasPackMoney[playerid] + BankCash[playerid];
    dUserSetINT(PlayerName(playerid)).("bankcash", Total);
    dUserSetINT(PlayerName(playerid)).("HasPackMoney", 0);
Thanks alot for your help m8.
Reply


Messages In This Thread
Strange variable/player file problem - by Byrner - 24.05.2009, 21:22
Re: Strange variable/player file problem - by Badger(new) - 24.05.2009, 21:28
Re: Strange variable/player file problem - by Weirdosport - 24.05.2009, 21:29
Re: Strange variable/player file problem - by Byrner - 24.05.2009, 21:42
Re: Strange variable/player file problem - by Weirdosport - 24.05.2009, 21:49
Re: Strange variable/player file problem - by Byrner - 24.05.2009, 22:03
Re: Strange variable/player file problem - by Byrner - 24.05.2009, 22:52
Re: Strange variable/player file problem - by Weirdosport - 24.05.2009, 23:07
Re: Strange variable/player file problem - by Byrner - 24.05.2009, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)