22.06.2010, 01:56
ok i keep getting 5 errors on my gteam stuff and i looked on wiki to see what i have done wrong but I have done everyhting correctly
I did that
then this is what I am getting errors on:
It says it doesnt know what gTeam is
pawn Код:
new gTeam[MAX_PLAYERS];
then this is what I am getting errors on:
pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 0)
{
gTeam[playerid] = TEAM_BLUE;
}
else
{
gTeam[playerid] = TEAM_RED;
}
}
It says it doesnt know what gTeam is