SA-MP Forums Archive
Scores = money - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Scores = money (/showthread.php?tid=450299)



Scores = money - Abanob - 12.07.2013

I need scores = money i have .. for ex . i have $1000 in my money so i must have 1000 score
and i also need 5000 score when any play enter .. i need amx file and pwn file cuz my pawno dont work anymore . thanks


Re: Scores = money - GoldZoroGrab - 12.07.2013

pawn Код:
public OnPlayerUpdate(playerid)
{
    new Money_Score[MAX_PLAYERS];
    Money_Score[playerid] = GetPlayerMoney(playerid);
    SetPlayerScore(playerid, Money_Score[playerid]);
    return 1;
}
Add this code in your script, and it will work fine!


Re: Scores = money - linuxthefish - 13.07.2013

I think you have a more serious problem! What's wrong with pawno? Are you running it as admin etc?