Show how much money you have. - 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: Show how much money you have. (
/showthread.php?tid=273247)
Show how much money you have. -
Shockey HD - 31.07.2011
Im creating a sever and i want to create a /stats command. But, what my problem is, is showing how much money you have. How would i do that?
Re: Show how much money you have. -
Laronic - 31.07.2011
pawn Код:
COMMAND:stats(playerid, params[])
{
new string[19];
format(string, sizeof(string), "Money: $%i", GetPlayerMoney(playerid));
SendClientMessage(playerid, 0xFF0000AA, string);
return 1;
}