Skin wird immer falsch vergeben /makeleader

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo
    Ich habe paar fraktionen entfernt nun sind die skins durcheinander
    Jetzt brauche ich hilfe -.-
    if(fraktion == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "LSPD"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
    else if(fraktion == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
    else if(fraktion == 3) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
    else if(fraktion == 4) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "La Cosa Nostra"; ChosenSkin[para1] = 258; SetPlayerSkin(para1, 258); }
    else if(fraktion == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yakuza"; ChosenSkin[para1] = 294; SetPlayerSkin(para1, 294); }
    else if(fraktion == 6) { PlayerInfo[para1][pTeam] = 7; gTeam[para1] = 7; ftext = "Bodyguards"; ChosenSkin[para1] = 164; SetPlayerSkin(para1, 164); }
    else if(fraktion == 7) { PlayerInfo[para1][pTeam] = 8; gTeam[para1] = 8; ftext = "Hitman Agency"; ChosenSkin[para1] = 250; SetPlayerSkin(para1, 250); }
    else if(fraktion == 8) { PlayerInfo[para1][pTeam] = 9; gTeam[para1] = 9; ftext = "CNN Studio"; ChosenSkin[para1] = 187; SetPlayerSkin(para1, 1 ); }
    else if(fraktion == 9) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 10; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
    else if(fraktion == 10) { PlayerInfo[para1][pTeam] = 11; gTeam[para1] = 11; ftext = "School Instructors"; ChosenSkin[para1] = 240; SetPlayerSkin(para1, 240); }
    else if(fraktion == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Hollow Nang Boys"; ChosenSkin[para1] = 118; SetPlayerSkin(para1, 118); }//Hollow
    else if(fraktion == 12) { PlayerInfo[para1][pTeam] = 13; gTeam[para1] = 13; ftext = "Thruway Crips"; ChosenSkin[para1] = 105; SetPlayerSkin(para1, 105); }//Grove Street
    else if(fraktion == 13) { PlayerInfo[para1][pTeam] = 14; gTeam[para1] = 14; ftext = "Jefferson Bloods"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 104); }//Jefferson Bloods
    else if(fraktion == 14) { PlayerInfo[para1][pTeam] = 15; gTeam[para1] = 15; ftext = "Sf Biker Club"; ChosenSkin[para1] = 185; SetPlayerSkin(para1, 185); }//Sf Biker Club
    else if(fraktion == 15) { PlayerInfo[para1][pTeam] = 16; gTeam[para1] = 16; ftext = "L.S.Vagos"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }//Los Santos Vagos
    else if(fraktion == 16) { PlayerInfo[para1][pTeam] = 17; gTeam[para1] = 17; ftext = "6th Joker Street"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }//6th Joker Street
    else if(fraktion == 17) { PlayerInfo[para1][pTeam] = 18; gTeam[para1] = 18; ftext = "L.S.Rifa"; ChosenSkin[para1] = 173; SetPlayerSkin(para1, 173); }//Los Santos Rifa
    else if(fraktion == 18) { PlayerInfo[para1][pTeam] = 19; gTeam[para1] = 19; ftext = "W.C.Customs"; ChosenSkin[para1] = 66; SetPlayerSkin(para1, 66); }//West Coust Customs
    else if(fraktion == 19) { PlayerInfo[para1][pTeam] = 20; gTeam[para1] = 20; ftext = "Terror"; ChosenSkin[para1] = 220; SetPlayerSkin(para1, 220); }
    else if(fraktion == 20) { PlayerInfo[para1][pTeam] = 22; gTeam[para1] = 22; ftext = "S.W.A.T Elite Troop"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
    else if(fraktion == 21) { PlayerInfo[para1][pTeam] = 23; gTeam[para1] = 23; ftext = "Russkaja Bratwa"; ChosenSkin[para1] = 133; SetPlayerSkin(para1, 133); }
    else if(fraktion == 22) { PlayerInfo[para1][pTeam] = 24; gTeam[para1] = 24; ftext = "Ordnungsamt"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
    else
    {