Score!
#1

How set all player score to all time to 0?
Reply
#2

You mean like this ?

pawn Код:
public OnGameModeInit()
{
    SetTimer("ResetScore",1000,true); // Set a timer to reset the score at each second.
}

forward ResetScore(); public ResetScore()
{
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
         if(IsPlayerConnected(i)) SetPlayerScore(i, 0);
    }
    return 1;
}
Reply
#3

Tnq xxMitsu.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)