Zivi Farbe

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 Liebe Breadfish community


    brauche eure hilfe ,


    ich möchte gern die Zivi Farbe auf weiss stellen wie könnte ich dies machen?




    MFG milanboy38

  • Also ich hab das drin :



    public OnPlayerRequestClass(playerid, classid)
    {


    SetPlayerPos(playerid, 154.4970,-1951.2393,51.3438);
    SetPlayerCameraPos(playerid, 154.4970,-1951.2393,51.3438);
    SetPlayerCameraLookAt(playerid, 154.4970,-1951.2393,51.3438);



    switch (classid)
    {
    case 71,280,281,282,283,288: gTeam[playerid] = TEAM_COPS;
    case 284,285,286,295,163,164: gTeam[playerid] = TEAM_FBI;
    case 287: gTeam[playerid] = TEAM_ARMY;
    case 274,275,276,277,278,279,70 : gTeam[playerid] = TEAM_MEDIC;
    case 253,255,61: gTeam[playerid] = TEAM_TAXI;
    case 171,172,59,60: gTeam[playerid] = TEAM_FAHRSCHULE;
    case 148,187,188: gTeam[playerid] = TEAM_NR;
    case 98,111,113,124,125,126:gTeam[playerid] = TEAM_LCN;
    case 120,121,122,123,186,228: gTeam[playerid] = TEAM_YAKUZA;
    case 173,174,175,114,115,116: gTeam[playerid] = TEAM_LVR;
    case 105,106,107,269,270,271: gTeam[playerid] = TEAM_GROOVE;
    case 102,103,104 : gTeam[playerid] = TEAM_BALLAS;
    case 294,165,166,93,127: gTeam[playerid] = TEAM_HITMAN;
    case 34,72,133,181,258,259: gTeam[playerid] = TEAM_TRANSPORT;
    case 265,266,267,260,153,16,27: gTeam[playerid] = TEAM_MÜLLABFUHR;
    default: gTeam[playerid] = TEAM_ZIVILISTEN;
    }
    return 1;


    }


    public OnPlayerConnect(playerid)
    {

    GangZoneShowForPlayer(playerid, ballaszone, COLOR_VIOLET);
    GangZoneShowForPlayer(playerid, groovezone, COLOR_DUNKELGRÜN);






    if (gTeam[playerid] == TEAM_COPS)
    {
    SetPlayerColor(playerid, 0x3366FFFF);
    }
    if (gTeam[playerid] == TEAM_FBI)
    {
    SetPlayerColor(playerid, 0x0000CCFF);
    }
    if (gTeam[playerid] == TEAM_ARMY)
    {
    SetPlayerColor(playerid, 0x33AA33AA);
    }
    if (gTeam[playerid] == TEAM_MEDIC)
    {
    SetPlayerColor(playerid, 0x660000FF);
    }
    if (gTeam[playerid] == TEAM_TAXI)
    {
    SetPlayerColor(playerid, 0xFFFF00AA);
    }
    if (gTeam[playerid] == TEAM_FAHRSCHULE)
    {
    SetPlayerColor(playerid, 0x66FFFFFF);
    }
    if (gTeam[playerid] == TEAM_NR)
    {
    SetPlayerColor(playerid, 0x99C400FF);
    }
    if (gTeam[playerid] == TEAM_LCN)
    {
    SetPlayerColor(playerid, 0x00FF33FF);
    }
    if (gTeam[playerid] == TEAM_YAKUZA)
    {
    SetPlayerColor(playerid, 0x00FF33FF);
    }
    if (gTeam[playerid] == TEAM_LVR)
    {
    SetPlayerColor(playerid, 0x3B3300FF);
    }
    if (gTeam[playerid] == TEAM_GROOVE)
    {
    SetPlayerColor(playerid, 0x006600FF);
    }
    if (gTeam[playerid] == TEAM_BALLAS)
    {
    SetPlayerColor(playerid, 0x9900FFFF);
    }
    if (gTeam[playerid] == TEAM_HITMAN)
    {
    SetPlayerColor(playerid, 0x560300FF);
    }
    if (gTeam[playerid] == TEAM_TRANSPORT)
    {
    SetPlayerColor(playerid, 0x00B3C0FF);
    }
    if (gTeam[playerid] == TEAM_MÜLLABFUHR)
    {
    SetPlayerColor(playerid, 0xFF384FFF);
    }
    if (gTeam[playerid] == TEAM_ZIVILISTEN)
    {
    SetPlayerColor(playerid, 0xFFFFFFAA);
    }
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {




    if (gTeam[playerid] == TEAM_COPS)
    {
    SetPlayerPos(playerid, 1568.7198,-1695.1759,5.8906);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 3, 0);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 41, 500);
    }
    if (gTeam[playerid] == TEAM_FBI)
    {
    SetPlayerPos(playerid, -1590.8979,717.1796,-5.2422);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 3, 0);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 41, 500);
    }
    if (gTeam[playerid] == TEAM_ARMY)
    {
    SetPlayerPos(playerid, 202.8705,1860.0547,13.1406);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 29, 500);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 31, 500);
    GivePlayerWeapon(playerid, 34, 100);
    }
    if (gTeam[playerid] == TEAM_MEDIC)
    {
    SetPlayerPos(playerid, 1616.7494,1820.7363,10.8280);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_TAXI)
    {
    SetPlayerPos(playerid, -2444.5503,513.0233,29.9182);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_FAHRSCHULE)
    {
    SetPlayerPos(playerid, -2027.9706,-114.3810,1035.1719);
    SetPlayerInterior(playerid, 3);
    }
    if (gTeam[playerid] == TEAM_NR)
    {
    SetPlayerPos(playerid, -2050.5852,451.8366,35.1719);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_LCN)
    {
    SetPlayerPos(playerid, 2022.1722,1918.8146,12.3399);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_YAKUZA)
    {
    SetPlayerPos(playerid, 2631.9622,1824.0807,11.0161);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_LVR)
    {
    SetPlayerPos(playerid, 1679.1554,1071.8372,10.8203);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_GROOVE)
    {
    SetPlayerPos(playerid, 2495.7095,-1710.7625,1014.7422);
    SetPlayerInterior(playerid, 3);
    }
    if (gTeam[playerid] == TEAM_BALLAS)
    {
    SetPlayerPos(playerid, 2783.9717,-1931.3223,13.5469);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_HITMAN)
    {
    SetPlayerPos(playerid, 1123.9456,-2036.7054,69.8858);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_TRANSPORT)
    {
    SetPlayerPos(playerid, -51.4515,-232.9184,6.7646);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_MÜLLABFUHR)
    {
    SetPlayerPos(playerid, -1016.9716,-605.1302,32.0126);
    SetPlayerInterior(playerid, 0);
    SetPlayerColor(playerid,0xFF384FFF);
    }
    if (gTeam[playerid] == TEAM_ZIVILISTEN)
    {
    SetPlayerPos(playerid,1685.2843,-2334.0183,13.5469);
    SetPlayerInterior(playerid, 0);
    }







    return 1;
    }










    und falls ich für die farben Includes brauche bitte lad sie mir hoch wär echt nett


  • public OnPlayerRequestClass(playerid, classid)
    {

    SetPlayerPos(playerid, 154.4970,-1951.2393,51.3438);
    SetPlayerCameraPos(playerid, 154.4970,-1951.2393,51.3438);
    SetPlayerCameraLookAt(playerid, 154.4970,-1951.2393,51.3438);


    switch (classid)
    {
    case 71,280,281,282,283,288: gTeam[playerid] = TEAM_COPS;
    case 284,285,286,295,163,164: gTeam[playerid] = TEAM_FBI;
    case 287: gTeam[playerid] = TEAM_ARMY;
    case 274,275,276,277,278,279,70 : gTeam[playerid] = TEAM_MEDIC;
    case 253,255,61: gTeam[playerid] = TEAM_TAXI;
    case 171,172,59,60: gTeam[playerid] = TEAM_FAHRSCHULE;
    case 148,187,188: gTeam[playerid] = TEAM_NR;
    case 98,111,113,124,125,126:gTeam[playerid] = TEAM_LCN;
    case 120,121,122,123,186,228: gTeam[playerid] = TEAM_YAKUZA;
    case 173,174,175,114,115,116: gTeam[playerid] = TEAM_LVR;
    case 105,106,107,269,270,271: gTeam[playerid] = TEAM_GROOVE;
    case 102,103,104 : gTeam[playerid] = TEAM_BALLAS;
    case 294,165,166,93,127: gTeam[playerid] = TEAM_HITMAN;
    case 34,72,133,181,258,259: gTeam[playerid] = TEAM_TRANSPORT;
    case 265,266,267,260,153,16,27: gTeam[playerid] = TEAM_MÜLLABFUHR;
    default: gTeam[playerid] = TEAM_ZIVILISTEN;
    }
    return 1;

    }

    public OnPlayerConnect(playerid)
    {

    GangZoneShowForPlayer(playerid, ballaszone, COLOR_VIOLET);
    GangZoneShowForPlayer(playerid, groovezone, COLOR_DUNKELGRÜN);





    if (gTeam[playerid] == TEAM_COPS)
    {
    SetPlayerColor(playerid, 0x3366FFFF);
    }
    if (gTeam[playerid] == TEAM_FBI)
    {
    SetPlayerColor(playerid, 0x0000CCFF);
    }
    if (gTeam[playerid] == TEAM_ARMY)
    {
    SetPlayerColor(playerid, 0x33AA33AA);
    }
    if (gTeam[playerid] == TEAM_MEDIC)
    {
    SetPlayerColor(playerid, 0x660000FF);
    }
    if (gTeam[playerid] == TEAM_TAXI)
    {
    SetPlayerColor(playerid, 0xFFFF00AA);
    }
    if (gTeam[playerid] == TEAM_FAHRSCHULE)
    {
    SetPlayerColor(playerid, 0x66FFFFFF);
    }
    if (gTeam[playerid] == TEAM_NR)
    {
    SetPlayerColor(playerid, 0x99C400FF);
    }
    if (gTeam[playerid] == TEAM_LCN)
    {
    SetPlayerColor(playerid, 0x00FF33FF);
    }
    if (gTeam[playerid] == TEAM_YAKUZA)
    {
    SetPlayerColor(playerid, 0x00FF33FF);
    }
    if (gTeam[playerid] == TEAM_LVR)
    {
    SetPlayerColor(playerid, 0x3B3300FF);
    }
    if (gTeam[playerid] == TEAM_GROOVE)
    {
    SetPlayerColor(playerid, 0x006600FF);
    }
    if (gTeam[playerid] == TEAM_BALLAS)
    {
    SetPlayerColor(playerid, 0x9900FFFF);
    }
    if (gTeam[playerid] == TEAM_HITMAN)
    {
    SetPlayerColor(playerid, 0x560300FF);
    }
    if (gTeam[playerid] == TEAM_TRANSPORT)
    {
    SetPlayerColor(playerid, 0x00B3C0FF);
    }
    if (gTeam[playerid] == TEAM_MÜLLABFUHR)
    {
    SetPlayerColor(playerid, 0xFF384FFF);
    }
    if (gTeam[playerid] == TEAM_ZIVILISTEN)
    {
    SetPlayerColor(playerid, 0xFFFFFFAA);
    }
    return 1;
    }

    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }

    public OnPlayerSpawn(playerid)
    {



    if (gTeam[playerid] == TEAM_COPS)
    {
    SetPlayerPos(playerid, 1568.7198,-1695.1759,5.8906);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 3, 0);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 41, 500);
    }
    if (gTeam[playerid] == TEAM_FBI)
    {
    SetPlayerPos(playerid, -1590.8979,717.1796,-5.2422);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 3, 0);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 41, 500);
    }
    if (gTeam[playerid] == TEAM_ARMY)
    {
    SetPlayerPos(playerid, 202.8705,1860.0547,13.1406);
    SetPlayerInterior(playerid, 0);
    GivePlayerWeapon(playerid, 29, 500);
    GivePlayerWeapon(playerid, 24, 100);
    GivePlayerWeapon(playerid, 31, 500);
    GivePlayerWeapon(playerid, 34, 100);
    }
    if (gTeam[playerid] == TEAM_MEDIC)
    {
    SetPlayerPos(playerid, 1616.7494,1820.7363,10.8280);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_TAXI)
    {
    SetPlayerPos(playerid, -2444.5503,513.0233,29.9182);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_FAHRSCHULE)
    {
    SetPlayerPos(playerid, -2027.9706,-114.3810,1035.1719);
    SetPlayerInterior(playerid, 3);
    }
    if (gTeam[playerid] == TEAM_NR)
    {
    SetPlayerPos(playerid, -2050.5852,451.8366,35.1719);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_LCN)
    {
    SetPlayerPos(playerid, 2022.1722,1918.8146,12.3399);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_YAKUZA)
    {
    SetPlayerPos(playerid, 2631.9622,1824.0807,11.0161);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_LVR)
    {
    SetPlayerPos(playerid, 1679.1554,1071.8372,10.8203);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_GROOVE)
    {
    SetPlayerPos(playerid, 2495.7095,-1710.7625,1014.7422);
    SetPlayerInterior(playerid, 3);
    }
    if (gTeam[playerid] == TEAM_BALLAS)
    {
    SetPlayerPos(playerid, 2783.9717,-1931.3223,13.5469);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_HITMAN)
    {
    SetPlayerPos(playerid, 1123.9456,-2036.7054,69.8858);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_TRANSPORT)
    {
    SetPlayerPos(playerid, -51.4515,-232.9184,6.7646);
    SetPlayerInterior(playerid, 0);
    }
    if (gTeam[playerid] == TEAM_MÜLLABFUHR)
    {
    SetPlayerPos(playerid, -1016.9716,-605.1302,32.0126);
    SetPlayerInterior(playerid, 0);
    SetPlayerColor(playerid,0xFF384FFF);
    }
    if (gTeam[playerid] == TEAM_ZIVILISTEN)
    {
    SetPlayerPos(playerid,1685.2843,-2334.0183,13.5469);
    SetPlayerInterior(playerid, 0);
    }






    return 1;
    }

  • sry....aber das sind jetzt ausschnitte von meinem script di zum diesem thema gehören ...kann mir einer bitte helfen :(