Nummernschild

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
  • Hey Leute,


    wie kann ich machen das wenn man das Fahrzeug kauft auch gleich ein Nummernschild gesetzt wird?


    stock GetDefaultCarColorOfFaction(Faction,&col1,&col2){
    if(Faction==1)
    {
    col1 = 125;
    col2 = 1;
    }
    else if(Faction==2)
    {
    col1 = 0;
    col2 = 0;
    }
    else if(Faction==3)
    {
    col1 = 102;
    col2 = 1;
    }
    else if(Faction==4)
    {
    col1 = 3;
    col2 = 6;
    }
    else if(Faction==5)
    {
    col1 = 0;
    col2 = 0;
    }
    else if(Faction==6)
    {
    col1 = 15;
    col2 = 15;
    }
    else if(Faction==7)
    {
    col1 = 61;
    col2 = 61;
    }
    else if(Faction==8)
    {
    col1 = 0;
    col2 = 0;
    }
    else if(Faction==9)
    {
    col1 = 1;
    col2 = 1;
    }
    else if(Faction==10)
    {
    col1 = 6;
    col2 = 6;
    }
    else if(Faction==11)
    {
    col1 = 1;
    col2 = 1;
    }
    else if(Faction==12)
    {
    col1 = 13;
    col2 = 13;
    }
    else if(Faction==13)
    {
    col1 = 86;
    col2 = 86;
    }
    else if(Faction==14)
    {
    col1 = 22;
    col2 = 22;
    }
    else if(Faction==15)
    {
    col1 = 3;
    col2 = 3;
    }
    else if(Faction==16)
    {
    col1 = 6;
    col2 = 6;
    }
    else if(Faction==17)
    {
    col1 = 93;
    col2 = 93;
    }
    else if(Faction==18)
    {
    col1 = 12;
    col2 = 12;
    }
    else if(Faction==19)
    {
    col1 = 3;
    col2 = 3;
    }
    else if(Faction==20)
    {
    col1 = 1;
    col2 = 1;
    }
    else if(Faction==21)
    {
    col1 = 0;
    col2 = 0;
    }
    else if(Faction==22)
    {
    col1 = 3;
    col2 = 1;
    }
    else if(Faction==23)
    {
    col1 = 1;
    col2 = 1;
    }
    else if(Faction==24)
    {
    col1 = 1;
    col2 = 1;
    }
    else if(Faction==25)
    {
    col1 = 125;
    col2 = 125;
    }
    else if(Faction==26)
    {
    col1 = 86;
    col2 = 86;
    }
    else
    {
    col1 = 125;
    col2 = 1;
    }
    return 1;
    }


    Also das es Automatisch gesetzt wird


    Hoffe mir kann einer helfen


    Mfg


    Strato