SendClientMessage to PlayerTeam
#4

I am not really familiar with making new Functions.
But I tryed the code script of CyberGhost, but it doesn't displays.

Код:
SendTeamMessage(TEAM_USA,COLOR_DARKGREEN, string);
All defines & string message are correct.

Код:
	stock SendTeamMessage(teamid, color, const string[]) //CyberGhost
	{
	    for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
	    {
	        if(GetPlayerTeam(i) == teamid)
	        {
	            SendClientMessage(i, color, string);
	        }
	    }
	    return 1;
	}
Note: No Error's but it Doesn't display on any SAMP Client's.


Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply


Messages In This Thread
SendClientMessage to PlayerTeam - by Rolyy - 02.06.2011, 12:50
Re: SendClientMessage to PlayerTeam - by Steve M. - 02.06.2011, 12:56
Re: SendClientMessage to PlayerTeam - by Laronic - 02.06.2011, 12:59
Re: SendClientMessage to PlayerTeam - by Rolyy - 02.06.2011, 13:18
Re: SendClientMessage to PlayerTeam - by Laronic - 02.06.2011, 13:37
Re: SendClientMessage to PlayerTeam - by Rolyy - 02.06.2011, 14:47
Re: SendClientMessage to PlayerTeam - by Laronic - 02.06.2011, 15:59
Re: SendClientMessage to PlayerTeam - by Jack Shred - 02.06.2011, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)