Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Maybe add a stock for when you add cash to their bank you also check their amount.
if(bankamount >= 300000)
{
SendClientMessage(playerid, -1, "You can't have more than 300,000 in your bank account.");
return 1;
}
else pInfo[playerid][pBank] + amount;
Or something of that sort...
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
What do you use for the player's bank amount?
PlayerInfo[playerid][pBank]?