Auto Messages to a certian score
#4

Didn't test this

pawn Code:
forward ScoreMessages();
new ScoreMSGTimer;

public OnGameModeInit()
{
   ScoreMSGTimer = SetTimer("ScoreMessages",30000,1);
   return 1;
}

public OnGameModeExit()
{
   KillTimer(ScoreMSGTimer);
   return 1;
}

public ScoreMessages()
{
  for(new i; i <= MAX_PLAYERS; i++)
  {
     if(GetPlayerScore(i) <= 5)
     {
       new string[128];
       format(string,sizeof(string),"Your score is: %d",GetPlayerScore(i));
       SendClientMessage(i,0xE2C063FF,string); //Color is just random, found it in rivershell script.
     }
   }
   return 1;
}
Reply


Messages In This Thread
Auto Messages to a certian score - by xLowrider - 06.04.2010, 02:57
Re: Auto Messages to a certian score - by -Rebel Son- - 06.04.2010, 03:13
Re: Auto Messages to a certian score - by xLowrider - 06.04.2010, 08:12
Re: Auto Messages to a certian score - by Hiddos - 06.04.2010, 09:18

Forum Jump:


Users browsing this thread: 2 Guest(s)