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



ShowMoney? - Gooday - 13.02.2012

I would like to show the moneys by pressing TAB and not the Scores...

NAME *SCORE HERE* PING HERE

I would like:

NAME *MONEY HERE* Ping...

Thanks


Re : ShowMoney? - Varkoll_ - 13.02.2012

new money;
GetPlayerMoney(playerid, money);
SetPlayerScore(playerid, money);




Re: ShowMoney? - Twisted_Insane - 13.02.2012

@leo

You are receiving the info for the player's money, well, okay! But he wants, that it'll display when somebody pressed "TAB"!


Re: ShowMoney? - MP2 - 13.02.2012

You can't edit the scoreboard.


Re: ShowMoney? - fiki574 - 13.02.2012

pawn Код:
public OnPlayerUpdate(playerid)
{
     new money;
     money = GetPlayerMoney(playerid);
     SetPlayerScore(playerid,money);
     return 1;
}
Basically, it will show ammount of money, but under "Score" line!