Cop Radio
#1

Hello, I am wondering how to make a cop radio, with /r and it only works for the players in the cop team (TEAM_LAW) because I have 2 teams, And I only want the cop team to be able to see it. Thanks.
Also, I have the following code:

Код:
SetPlayerToTeamColor(playerid)
{
	if (gTeam[playerid] == TEAM_LAW)
	{
		SetPlayerColor(playerid, COLOR_LAW);
	}
	else if (gTeam[playerid] == TEAM_CRIM)
	{
		SetPlayerColor(playerid, COLOR_CRIM);
	}
}
but when I try to compile it:

(595) : warning 235: public function lacks forward declaration (symbol "SetPlayerToTeamColor")


Reply


Messages In This Thread
Cop Radio - by DDodo - 01.05.2010, 19:13
Re: Cop Radio - by maij - 01.05.2010, 19:24
Re: Cop Radio - by DDodo - 02.05.2010, 13:52

Forum Jump:


Users browsing this thread: 2 Guest(s)