SA-MP Forums Archive
Player has taken <this much> money scripting - 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: Player has taken <this much> money scripting (/showthread.php?tid=359375)



<this player> has taken <this much> money scripting - ShawtyyMacJunior - 13.07.2012

at the end of the gm i want the player to know how much money he or she has gotten away with but have no idea on how to script that. I need some help


Re: Player has taken <this much> money scripting - Accord - 13.07.2012

In the world "GM", Do you mean to GiveMoney? if yes so put in the command:
PHP код:
new GStr[100];
format(GStr,50,"You have got money from the adminstartor by that your money's amount is %d$"GetPlayerMoney(playerid));
SendClientMessage(playerid0x00ff00GStr); 



Re: Player has taken <this much> money scripting - ShawtyyMacJunior - 13.07.2012

Yes i also want to get the players name in that too. How can that happen?