Posts: 30
Threads: 7
Joined: Feb 2009
Reputation:
0
everything goes well untill i add the line;
new gTeam[MAX_PLAYERS];
Because when i compile it it says Warning!
warning 203: symbol is never used: "gTeam"
am i doing something wrong here?
Posts: 30
Threads: 7
Joined: Feb 2009
Reputation:
0
Dont know how, and if i even need it.
im just following the tutorial my english is fucked
and this ;
SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 0)
{
gTeam[playerid] = TEAM_GROVE;
}
else
{
gTeam[playerid] = TEAM_BALLA;
}
}
gives the same warning
Posts: 3
Threads: 0
Joined: Dec 2008
Reputation:
0
What the warning means is that gTeam[MAX_PLAYERS] isn't being used, thus you don't need it and you can remove, so if you remove it the error will go away. Or if the gTeam[MAX_PLAYERS] is being used some where then it will also fix the warning.
Posts: 30
Threads: 7
Joined: Feb 2009
Reputation:
0
never mind im removing gta it stresses me out
all that effort just to make a room pfff
might as well play xbox
bye
Posts: 3
Threads: 0
Joined: Dec 2008
Reputation:
0
You shouldn't give up, It's not that hard to learn and it's alot of fun. But again its you're choice but if you do decide to stay PM me i'll give you my msn and i can help you out a bit.