Needed an idea. :)
#3

You can use it like this:

pawn Код:
forward Update(); // place this on top of your script

SetTimer("Update", 600000*6, true); // 60 minutes if I'm correct, put it under your OnGameModeInit


public Update() // place this somewhere in your script
{
     for(new i=0;i<MAX_PLAYERS<i++) // goes through all players
     {
           Playerinfo[i][leveldate] += 1; // increases the leveldate variable by 1
           if(PlayerInfo[i][leveldate] == 9) // if leveldate is 9
           {
                 PlayerInfo[i][score] += 1; // increase player's score by 1
                 SetPlayerScore(i, PlayerInfo[i][score]); // set player's score to a new value
           }
      }
}
Reply


Messages In This Thread
Needed an idea. :) - by TaLhA XIV - 07.08.2012, 21:16
Re: Needed an idea. :) - by FalconX - 07.08.2012, 21:26
Re: Needed an idea. :) - by Makaveli93 - 07.08.2012, 21:27
Re: Needed an idea. :) - by TaLhA XIV - 07.08.2012, 21:34
Re: Needed an idea. :) - by TaLhA XIV - 07.08.2012, 21:36
Re: Needed an idea. :) - by HighPitchedVoice - 07.08.2012, 21:40
Re: Needed an idea. :) - by TaLhA XIV - 07.08.2012, 23:44

Forum Jump:


Users browsing this thread: 2 Guest(s)