team deathmatch
#1

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?
Reply
#2

You dont need gTeam, if you want to use it then use the function..
To solve the error remove:
Код:
gTeam[MAX_PLAYERS];
Reply
#3

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
Reply
#4

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.
Reply
#5

never mind im removing gta it stresses me out
all that effort just to make a room pfff
might as well play xbox
bye
Reply
#6

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.
Reply
#7

that warning doesn't effect anything, just ignore it, until the time you need to use it. heck, when i started i made floats with a lower-case 'f' "new float" instead of "new Float".
Reply
#8

tnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)