SA-MP Forums Archive
Score as money - 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: Score as money (/showthread.php?tid=358249)



Score as money - DeeCaay - 09.07.2012

Back in the days i had a script which is the money you got is in scores, can i have that code
Sorry for the request in any ways.

Example you got 500$ it will show 500 scores.


Re: Score as money - coole210 - 09.07.2012

pawn Код:
SetPlayerScore(playerid, GetPlayerMoney(playerid));

stock GivePlayerMoneyEx(playerid, money) //Replace with GivePlayerMoney if you want to set score with money
{
GivePlayerMoney(playerid, money);
SetPlayerScore(playerid, GetPlayerMoney(playerid));
}