02.04.2010, 10:51
Well, I already made the the teams.
And also
but when I don't use in command function
It will say, undefined symbol ''gteam''
So, That's why I thought it will be okay if I use new gteam...
So what I have to do with this error ?
I need some solution!
Код:
#define TEAM_LVPD #define TEAM_EMS #define TEAM_FBI #define TEAM_Military #define TEAM_DRIVER #define TEAM_NEW
Код:
SetPlayerTeamFromClass(playerid, classid)
new gTeam[MAX_PLAYERS];
if (classid == 0)
{
gTeam[playerid] = 1;
}
if (classid == 1)
{
gTeam[playerid] = 2;
}
if (classid == 2)
{
gTeam[playerid] = 3 ;
}
if (classid == 3)
{
gTeam[playerid] = 4;
}
if (classid == 4)
{
gTeam[playerid] = 5;
}
if (classid == 5)
{
gTeam[playerid] = 6;
}
Код:
new gTeam[MAX_PLAYERS];
So, That's why I thought it will be okay if I use new gteam...
So what I have to do with this error ?
I need some solution!

