Help with the money :)
#7

Quote:
Originally Posted by Matej_
Посмотреть сообщение
pawn Код:
if(GetPlayerMoney(playerid) < 10000)
That will check if the player has less than $10,000, but that also includes negative numbers, like -20000.

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
pawn Код:
if(GetPlayerMoney(playerid) < 10000 && GetPlayerMoney(playerid) > 1)
That will check if the player has less than $10,000, but MORE than $1, so if the player has only $1, it won't work.

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
pawn Код:
if(GetPlayerMoney(playerid) > 1 || GetPlayerMoney(playerid) < 10000)
That will check if the player has ANY number above 1, OR any number below 10,000... which means ANY number...

pawn Код:
if( (GetPlayerMoney(playerid)>=0) && (GetPlayerMoney(playerid)<=10000) )
This will check if the player has any amount between and including $0 and $10,000.
Reply


Messages In This Thread
Help with the money :) - by Matej_ - 08.09.2010, 14:05
Re: Help with the money :) - by R@ger - 08.09.2010, 14:08
Re: Help with the money :) - by [XST]O_x - 08.09.2010, 14:12
Re: Help with the money :) - by Cameltoe - 08.09.2010, 14:13
Re: Help with the money :) - by RyDeR` - 08.09.2010, 14:23
Re: Help with the money :) - by R@ger - 08.09.2010, 14:24
Re: Help with the money :) - by Joe Staff - 08.09.2010, 14:26
Re: Help with the money :) - by [XST]O_x - 08.09.2010, 14:27
Re: Help with the money :) - by Matej_ - 08.09.2010, 14:32
Re: Help with the money :) - by Nero_3D - 08.09.2010, 15:16

Forum Jump:


Users browsing this thread: 2 Guest(s)