If player money is lower then ...
#7

Or to make it simpler and easier to read (reducing the likelyhood of loose indentation and missing brackets) [and also without wasting a variable for no reason]:

pawn Код:
if(GetPlayerMoney(playerid) < 175) return SendClientMessage(playerid, COLOR_RED, "You need $175.");
// Purchase here
Reply


Messages In This Thread
If player money is lower then ... - by NicholasA - 23.12.2012, 17:12
Re: If player money is lower then ... - by Faisal_khan - 23.12.2012, 17:16
Re: If player money is lower then ... - by ikey07 - 23.12.2012, 17:19
Re: If player money is lower then ... - by Lynn - 23.12.2012, 17:19
Re: If player money is lower then ... - by Universal - 23.12.2012, 17:20
Re: If player money is lower then ... - by NicholasA - 23.12.2012, 17:22
Re: If player money is lower then ... - by MP2 - 23.12.2012, 18:54

Forum Jump:


Users browsing this thread: 2 Guest(s)