ShowPlayerMarkers(1); Problem

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
  • Also ich hab das LoH script 4.0. Jez ist mein Problem das nur manche Fraktionen auf der Karte angezeigt werden :S. Aber ich will das alle angezeit werden. Ich hab schon vieles versucht und bis jetzt hab ich es nur hingekriegt das nur Grove/Ballas/Yaku/und paar gangs noch bzw Mafias angezeigt werden und deshalb würde ich mich über etwas hilfe freuen :).

  • Mein Problem ;D
    Naja hier da ich eh ein Selfmade machen will:
    Bei OnGameModeInit
    ShowPlayerMarkers(true);
    Bei den defines:
    Ändere es einfach nach deinen wünschen:
    //-------------------Markerfarben--------------------------
    #define Weiß 0xFFFFFFFF //Zivis
    #define Blau 0x00C3FFFF //San Police/ LVPD/ SFPD
    #define Grün 0x00FF00D6 //army
    #define Braun 0x6E1D00FF //Hitman
    #define Rot 0xFF0000D6 //Sanitäter
    #define LCN 0xFFA800FF //La Cosa Nostra
    #define Pink 0xFF85FFD6 //Yakuza
    #define Schwartz 0x000000FF //Präsident
    #define Bodyguard 0xFF5600FF // Präsidentenschutz
    #define NewsReporter 0x00FFFF9D //Newsreporter
    #define Gelb 0xFFFF00FF //Taxifahrer
    #define Fahrlehrer 0xD30000B4 //Fahrlehrer
    #define HA 0x3C3C3CFF //Hells Angels
    #define Groove 0x00A400FF //Groovestreet
    #define Ballas 0x9D00E7D4 //Ballas
    #define Fast 0xAFFF00FF //2 Fast 2 Furios
    #define Vagos 0xFFCF59D4 //Los Santos Vagos
    #define VLA 0x9C9D65FF //Varios Los Atztecas
    #define Rifa 0xC065ABC1 // San Fiero Rifa
    #define WCC 0xFFCC44FF //West Coast Costums
    #define Terror 0x3F0000FF //Terroristen
    #define FBIMarker 0x0000D4FF //FBI
    #define RM 0x828282FF //RusenMafia
    #define Feuer 0xFF3C00FF //Feuerwehr
    #define OAmt 0x00B9FFFF //Ordnungsamt
    //-----------------Markerfarben-Ende-----------------------
    Dann suchste ma nach:
    public SetPlayerToTeamColor(playerid)
    Da ersätze des ganze public:
    public SetPlayerToTeamColor(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    SetPlayerColor(playerid,Blau);
    SetPlayerMarkerForPlayer(playerid,playerid,Blau);
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    SetPlayerColor(playerid,Blau);
    SetPlayerMarkerForPlayer(playerid,playerid,Blau);
    }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    SetPlayerMarkerForPlayer(playerid,playerid,Grün);
    SetPlayerColor(playerid,Grün);
    }
    else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SetPlayerColor(playerid,COLOR_RED);
    SetPlayerMarkerForPlayer(playerid,playerid,Rot);
    }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SetPlayerColor(playerid,LCN);
    SetPlayerMarkerForPlayer(playerid,playerid,LCN);
    }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SetPlayerColor(playerid,Pink);
    SetPlayerMarkerForPlayer(playerid,playerid,Pink);
    }
    else if(PlayerInfo[playerid][pLeader] == 7)
    {
    SetPlayerColor(playerid,Schwartz);
    SetPlayerMarkerForPlayer(playerid,playerid,Schwartz);
    }
    else if(PlayerInfo[playerid][pMember] == 7)
    {
    SetPlayerColor(playerid,Bodyguard);
    SetPlayerMarkerForPlayer(playerid,playerid,Bodyguard);
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SetPlayerColor(playerid,Braun);
    SetPlayerMarkerForPlayer(playerid,playerid,Braun);
    }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SetPlayerColor(playerid,NewsReporter);
    SetPlayerMarkerForPlayer(playerid,playerid,NewsReporter);
    }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SetPlayerColor(playerid,Gelb);
    SetPlayerMarkerForPlayer(playerid,playerid,Gelb);
    }
    else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SetPlayerColor(playerid,Fahrlehrer);
    }
    else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SetPlayerColor(playerid,HA);
    SetPlayerMarkerForPlayer(playerid,playerid,HA);
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SetPlayerColor(playerid,Groove);
    SetPlayerMarkerForPlayer(playerid,playerid,Groove);
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SetPlayerColor(playerid,Ballas);
    SetPlayerMarkerForPlayer(playerid,playerid,Ballas);
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SetPlayerColor(playerid,Fast);
    SetPlayerMarkerForPlayer(playerid,playerid,Fast);
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SetPlayerColor(playerid,Vagos);
    SetPlayerMarkerForPlayer(playerid,playerid,Vagos);
    }
    else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
    {
    SetPlayerColor(playerid,VLA);
    SetPlayerMarkerForPlayer(playerid,playerid,VLA);
    }
    else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SetPlayerColor(playerid,Rifa);
    SetPlayerMarkerForPlayer(playerid,playerid,Rifa);
    }
    else if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 18)
    {
    SetPlayerColor(playerid,WCC);
    SetPlayerMarkerForPlayer(playerid,playerid,WCC);
    }
    else if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SetPlayerColor(playerid,Terror);
    SetPlayerMarkerForPlayer(playerid,playerid,Terror);
    }
    else if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SetPlayerColor(playerid,FBIMarker);
    SetPlayerMarkerForPlayer(playerid,playerid,FBIMarker);
    }
    else if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SetPlayerColor(playerid,Feuer);
    SetPlayerMarkerForPlayer(playerid,playerid,Feuer);
    }
    else if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SetPlayerColor(playerid,RM);
    SetPlayerMarkerForPlayer(playerid,playerid,RM);
    }
    else if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SetPlayerColor(playerid,OAmt);
    SetPlayerMarkerForPlayer(playerid,playerid,OAmt);
    }
    else
    {
    SetPlayerColor(playerid,Weiß); // Zivis
    SetPlayerMarkerForPlayer(playerid,playerid,Weiß); // Zivis
    SetPlayerColor(playerid,Weiß); // Zivis
    }
    }
    }


    Bewerte mich und meine Transaktionen als Mittelsmann