Scores = money
#1

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
Reply
#2

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!
Reply
#3

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


Forum Jump:


Users browsing this thread: 2 Guest(s)