SA-MP Forums Archive
a tad help with /deposit - 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: a tad help with /deposit (/showthread.php?tid=649027)



a tad help with /deposit - PundacheMakalae - 01.02.2018

<FIXED>


Re: a tad help with /deposit - Mugala - 01.02.2018

if(GetPlayerMoney(playerid)-moneys < 5000) return SendClientMessage(playerid, COLOR_BRIGHTRED," You must have at least 5000$");

you can use your defined code for GetPlayerMoney(playerid) too, for example if u have PlayerInfo[playerid][cash] or PlayerInfo[playerid][money]