SendTeamMessage
#10

Quote:
Originally Posted by DragonBlaster50
Посмотреть сообщение
I tried to fix it, its now this:


Stock:
Код:
stock SendPoliceMessage(COLOR, string[])
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
     if(IsPlayerConnected(i) && GetPlayerTeam(i) == 1)
     {
        SendClientMessage(i, COLOR_LIGHTBLUE, string);
     }
  }
  return 0;
}
And the Command itself:
Код:
......
Try changing it to this:
Код:
stock SendPoliceMessage(string[])
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
     if(IsPlayerConnected(i) && GetPlayerTeam(i) == 1)
     {
        SendClientMessage(i, COLOR_LIGHTBLUE, string);
     }
  }
  return 0;
}
Reply


Messages In This Thread
SendTeamMessage - by DragonBlaster50 - 29.07.2010, 11:18
Re: SendTeamMessage - by ViruZZzZ_ChiLLL - 29.07.2010, 11:24
Re: SendTeamMessage - by DragonBlaster50 - 29.07.2010, 11:28
Re: SendTeamMessage - by Vince - 29.07.2010, 11:32
Re: SendTeamMessage - by DragonBlaster50 - 29.07.2010, 11:43
Re: SendTeamMessage - by Vince - 29.07.2010, 11:46
Re: SendTeamMessage - by DragonBlaster50 - 29.07.2010, 11:48
Re: SendTeamMessage - by DragonBlaster50 - 29.07.2010, 11:53
Re: SendTeamMessage - by DragonBlaster50 - 29.07.2010, 12:27
Re: SendTeamMessage - by jonrb - 29.07.2010, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)