08.02.2013, 15:50
I got this:
Im getting this error msg:
[CODE] (44): unknown directive
(347): undefined symbol "gTeam"
(347): expression has no effect
(347): expected token: ";", but found "]"
(347): invalid expression, assumed zero
Fatal: too many errorr msg on a line.[CODE]
Line 44 says:#new gTeam[MAX_PLAYERS]
Код:
* * * SetPlayerToTeamColor(playerid) * { * * * * * if (gTeam[playerid] == TEAM_HOMELESS) * * * * * { * * * * * * * * * SetPlayerColor(playerid, TEAM_HOMELESS_COLOR); * * * * * } * * * * * else if (gTeam[playerid] == TEAM_HOMELESS_2 * * * * * { * SetPlayerColor(playerid, TEAM_HOMELESS_2_COLOR); * } * } *
[CODE] (44): unknown directive
(347): undefined symbol "gTeam"
(347): expression has no effect
(347): expected token: ";", but found "]"
(347): invalid expression, assumed zero
Fatal: too many errorr msg on a line.[CODE]
Line 44 says:#new gTeam[MAX_PLAYERS]