SA-MP Forums Archive
Money Limit Biz - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Money Limit Biz (/showthread.php?tid=507080)



Money Limit Biz - Akcent_Voltaj - 15.04.2014

-delete


Re: Money Limit Biz - Abagail - 15.04.2014

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...


Re: Money Limit Biz - Akcent_Voltaj - 15.04.2014

-delete


Re: Money Limit Biz - Abagail - 15.04.2014

What do you use for the player's bank amount?

PlayerInfo[playerid][pBank]?


Re: Money Limit Biz - Akcent_Voltaj - 15.04.2014

-delete


Re: Money Limit Biz - Akcent_Voltaj - 16.04.2014

-delete