Own Vehicle Plate + Define Score As Money
#8

For score:

pawn Код:
// OnGameModeInit
SetTimer("ScoreUpdate", 1000, 1);

// On the end of your script
forward ScoreUpdate();
public ScoreUpdate()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            SetPlayerScore(i, GetPlayerMoney(i));
        }
    }
}
Enjoy!
Reply


Messages In This Thread
Own Vehicle Plate + Define Score As Money - by Puzi - 27.05.2009, 17:08
Re: Own Vehicle Plate + Define Score As Money - by JoeDaDude - 27.05.2009, 17:17
Re: Own Vehicle Plate + Define Score As Money + /spec Command - by Puzi - 27.05.2009, 17:24
Re: Own Vehicle Plate + Define Score As Money - by JoeDaDude - 27.05.2009, 17:27
Re: Own Vehicle Plate + Define Score As Money - by Puzi - 27.05.2009, 17:30
Re: Own Vehicle Plate + Define Score As Money - by Puzi - 27.05.2009, 17:43
Re: Own Vehicle Plate + Define Score As Money - by miokie - 27.05.2009, 18:09
Re: Own Vehicle Plate + Define Score As Money - by SpiderPork - 27.05.2009, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)