problem with enum
#2

Quote:
Originally Posted by LZLo
Посмотреть сообщение
2 errors
pls help
pawn Код:
enum pTeams
{
TEAM_POLICE,
TEAM_SWAT,
TEAM_ARMY,
TEAM_AMCSI,
TEAM_COLUMBIANO,
TEAM_KINA,
TEAM_TERRO
};
new teamScore[MAX_PLAYERS][pTeams];
The Pawn compiler reads down, therefore it hasn't created pTeams yet before you initialize the variable.
Reply


Messages In This Thread
problem with enum - by LZLo - 10.08.2010, 19:15
Re: problem with enum - by JaTochNietDan - 10.08.2010, 19:17
Re: problem with enum - by Nero_3D - 10.08.2010, 19:17
Re: problem with enum - by LZLo - 10.08.2010, 19:23
Re: problem with enum - by LZLo - 10.08.2010, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)