SA-MP Forums Archive
(help) GetPlayerMoney - 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: (help) GetPlayerMoney (/showthread.php?tid=219629)



(help) GetPlayerMoney - Amine_Mejrhirrou - 01.02.2011

is that posible to make something like that
Quote:

new Float:money;
GetPlayerHealth(playerid,money);
if (money < 5)
{
GameTextForPlayer(playerid, "~w~ you are poor lol", 3000, 4);
}
i just want to send a msg to a player if he has <5$


Re: (help) GetPlayerMoney - [L3th4l] - 01.02.2011

pawn Код:
if(GetPlayerMoney(playerid) < 5)
{
    // Code
}



Re : (help) GetPlayerMoney - Amine_Mejrhirrou - 01.02.2011

thanks