Warning 203
#5

You have already defined it;
pawn Код:
SetPlayerToTeamColor(playerid)
{
if(gTeam[playerid] == TEAM_TERRORISTS)
{
SetPlayerColor(playerid,TEAM_COLOR_TERRORISTS);
}
else if(gTeam[playerid] == TEAM_COUNTERTERRORISTS)
{
SetPlayerColor(playerid,TEAM_COLOR_COUNTERTERRORIS TS);
}
return 1;
}
Now go under OnPlayerSpawn(playerid) or anywhere, use it like this:

pawn Код:
SetPlayerToTeamColor(playerid);
You have defined it, but you did not use it, that's why PAWN has warned you.
Reply


Messages In This Thread
Warning 203 - by Rissam - 13.12.2014, 11:29
Re: Warning 203 - by ConnorHunter - 13.12.2014, 11:29
Re: Warning 203 - by Ox1gEN - 13.12.2014, 11:31
Re: Warning 203 - by Rissam - 13.12.2014, 11:34
Re: Warning 203 - by MythicalMarauder - 13.12.2014, 12:28
Re: Warning 203 - by Rissam - 14.12.2014, 07:59
Re: Warning 203 - by JeaSon - 14.12.2014, 08:06
Re: Warning 203 - by Rissam - 14.12.2014, 08:23

Forum Jump:


Users browsing this thread: 1 Guest(s)