01.05.2010, 19:13
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:
but when I try to compile it:
(595) : warning 235: public function lacks forward declaration (symbol "SetPlayerToTeamColor")
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);
}
}
(595) : warning 235: public function lacks forward declaration (symbol "SetPlayerToTeamColor")

