Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
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]