Mein selfmade Gangsystem hat einen einzigen warning den ich nicht wegbekommen und zwar handelt es sich um
//Gangeinteilung,Gangfarbenvergabe--------------------------------------------------------------------------------
SetPlayerTeamFromClass(playerid,classid)
{
if(classid == 269 || classid == 270 || classid == 271 || classid == 105 || classid == 106 || classid == 107 )
{
gTeam[playerid] = TEAM_GROVE;
}
if(classid == 102 || classid == 103 || classid == 104)
{
gTeam[playerid] = TEAM_BALLA;
}
if(classid == 108 || classid == 109 || classid == 110)
{
gTeam[playerid] = TEAM_VAGOS;
}
if(classid == 114 || classid == 115 || classid == 116)
{
gTeam[playerid] = TEAM_VATOSLOCOS;
}
if(classid == 117 || classid == 118 || classid == 120)
{
gTeam[playerid] = TEAM_TRIADEN;
}
if(classid == 167)
{
gTeam[playerid] = TEAM_ADMINS;
}
if(classid == 247 || classid == 248 || classid == 254 )
{
gTeam[playerid] = TEAM_BIKER;
}
if(classid == 280 || classid == 281 || classid == 282 || classid == 283 || classid == 284 || classid == 288 )
{
gTeam[playerid] = TEAM_COPS;
{
if(classid == 117 || classid == 118 || classid == 120)
}
public SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_GROVE)
{
SetPlayerColor(playerid, TEAM_GROVE_COLOR);
}
else if (gTeam[playerid] == TEAM_BALLA)
{
SetPlayerColor(playerid, TEAM_BALLA_COLOR);
}
else if(gTeam[playerid] == TEAM_VAGOS)
{
SetPlayerColor(playerid, TEAM_VAGOS_COLOR);
}
else if(gTeam[playerid] == TEAM_VATOSLOCOS)
{
SetplayerColor(playerid, TEAM_VATOSLOCOS_COLOR);
}
else if(gTeam[playerid] == TEAM_TRIADEN)
{
SetPlayerColor(playerid, TEAM_TRIADEN_COLOR);
}
else if(gTeam[playerid] == TEAM_BIKER)
{
SetPlayerColor(playerid, TEAM_BIKER);
}
else if(gTeam[playerid] == TEAM_COPS)
{
SetPlayerColor(playerid, TEAM_COPS_COLOR);
}
else if(gTeam[playerid] == TEAM_ADMINS)
{
SetPlayerColor(playerid, TEAM_ADMINS_COLOR);
}
// -----------------------------------------------------------------------------------------------------------------
// FORWARDS
forward SetPlayerTeamFromClass(playerid,classid);
forward SetPlayerToTeamColor(playerid);
warning 203: symbol is never used: "SetPlayerTeamFromClass"
brauche echt hilfe das geht nich mehr das behindert meine ganze weiterarbeit...
MfG EazyE