Unique score & timer systeme
#1

Hйyo guyz
Can Someone help me I need to make unique time in my server each 2 minutes of real it's 1 hour of game

Also give players auto 1 point score each 10 minutes
Reply
#2

I will give you some ideas okay?
First: you doo the timer, in your case make a two seconds timer.
second: make a textdraw for all
third: work on the timer or counter whenever 2 seconds pass, increases the textdraw 1 minute

I posted some ideas because no one will post a whole FS

The other is easy
pawn Код:
new ScoreTimer[MAX_PLAYERS];
//OnGameModeInIt:
        //PlayerOneSecondVariable
    SetTimer("PlayerOneSecondVariables",1000,1);

forward PlayerOneSecondVariables
public PlayerOneSecondVariables
{
   for(new i=0; i<MAX_PLAYERS; i++)
    {
             if(ScoreTimer[i] >= 1)
             {    
                      ScoreTimer[i] --;
             }
             if(SoreTimer[i] == 0)
             {
                   SetPlayerScore(i, GetPlayerScore(i) +1)
                    ScoreTimer[i] =10;
             }
         }
return 1;
}
NOTE: didn't test it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)