Score = 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Score = Money. (
/showthread.php?tid=260535)
Score = Money. -
iGetty - 09.06.2011
How can I make it, so then the score is set to the amount of money people have?
It will be a big help, and how could I keep it updating?
Re: Score = Money. -
Sascha - 09.06.2011
pawn Код:
public OnPlayerUpdate(playerid)
{
SetPlayerScore(playerid, GetPlayerMoney(playerid));
return 1;
}
Re: Score = Money. -
iGetty - 09.06.2011
Quote:
Originally Posted by Sascha
pawn Код:
public OnPlayerUpdate(playerid) { SetPlayerScore(playerid, GetPlayerMoney(playerid)); return 1; }
|
Thanks Sascha.