I have a problem.. Money - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I have a problem.. Money (
/showthread.php?tid=138746)
I have a problem.. Money -
Samy_Romafia - 02.04.2010
I have a problem..
The money I go below 0 without problems..
VIdeo:
My problem in SA-MP
Re: I have a problem.. Money -
Torran - 03.04.2010
Quote:
Originally Posted by Samy_Romafia
|
What is your problem? What do you mean?
Do you want your money stop going below 0?
Re: I have a problem.. Money -
Steven82 - 03.04.2010
Yes that is what he means.
Re: I have a problem.. Money -
Torran - 03.04.2010
In your CMD
pawn Код:
if(GetPlayerMoney(playerid) < AMOUNT)
{
//REST OF YOUR CODE
}
else
{
SendClientMessage(...Not enough money
}
Re: I have a problem.. Money -
Steven82 - 03.04.2010
* but it didn't stop the command.
EDIT:
Never mind i fixed it.
Re: I have a problem.. Money -
Samy_Romafia - 03.04.2010
THX