SA-MP Forums Archive
If players money = lower than a value ( 2000 ) return a message - 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: If players money = lower than a value ( 2000 ) return a message (/showthread.php?tid=395988)



If players money = lower than a value ( 2000 ) return a message - gnoomen2 - 28.11.2012

How did i do this? I am new to scripting and i dont remember this


Re: If players money = lower than a value ( 2000 ) return a message - NewerthRoleplay - 28.11.2012

pawn Код:
if (GetPlayerMoney(playerid) < 2000)
Not a perfect example, but hopefully you get the idea


Re: If players money = lower than a value ( 2000 ) return a message - gnoomen2 - 28.11.2012

I do, and it was perfect, thank you