RGR Gangfight by [My]Kevin [All Versions 1 - 3]

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
  • Bei mir steht da wenn ich /einnehmen mache und dann steht dort:

    Zitat

    Gebiet wurde ausgeschaltet


    Wie kann ich die gebiete einschalten in der Gangfight.cfg ?
    Dort steht bei mir in der Gangfight.cfg:


    Was muss ich da umstellen, damit sie eingeschaltet sind ?


    //Edit..
    Bräuchte immer noch Hilfe :)

    signaturjohnparker.jpg

    Einmal editiert, zuletzt von John Parker () aus folgendem Grund: //edit

  • Ihr müsst die jeweiligen Fraktionsids eintragen die ein Gangfight starten dürfen, zu dem muss in der Datei wie oben genannt die erste zahl eine Eingetragende Fraktion sein. :)


    Znter:
    stock IsAFightFaction()
    if(Faction == 15) return true;


    Welche nun eure Nummer 15 ist weiß ich nicht, aber das bekommt ja schnell heraus!


    Mit freundlichen Grüßen
    Kevin

  • Zitat

    zu dem muss in der Datei wie oben genannt die erste zahl eine Eingetragende Fraktion sein.


    Was meinst du genau mit Datei ? -.-
    Erklär das bitte genau und was für eine Datei...


    //edit:
    auch wenn ich es so machen steht immer noch da " Gebiet wurde Ausgeschaltet "...
    irgend wie komisch :)

  • Es kommt immer Gebiet ist aus geschaltet :(


    Code:
    stock IsAFightFaction(Faction){
    if(Faction == 5) return true;
    if(Faction == 6) return true;
    if(Faction == 12) return true;
    if(Faction == 13) return true;
    if(Faction == 14) return true;
    if(Faction == 16) return true;
    if(Faction == 17) return true;
    if(Faction == 18) return true;
    if(Faction == 19) return true;
    if(Faction == 23) return true;
    return true;
    }
    stock GetZoneColorOfFaction(Faction){
    if(Faction == 5) return 0x735354FF;
    if(Faction == 6) return 0x800000FF;
    if(Faction == 12) return 0x64126DFF;
    if(Faction == 13) return 0x008000FF;
    if(Faction == 14) return 0xFF00FFFF;
    if(Faction == 16) return 0xDFDF00FF;
    if(Faction == 17) return 0x0063C6FF;
    if(Faction == 18) return 0x6C0000FF;
    if(Faction == 19) return 0xE10000FF;
    else if(Faction == 23) return 0xD7D2D7FF;
    else return 0x00000000;//NoN-Gang
    }
    stock GetFactionNameOfFaction(Faction){
    new FactionName[64];
    if(Faction == 5) format(FactionName,sizeof(FactionName),"LCN");
    if(Faction == 6) format(FactionName,sizeof(FactionName),"Yakuza");
    if(Faction == 12) format(FactionName,sizeof(FactionName),"Triaden");
    if(Faction == 13) format(FactionName,sizeof(FactionName),"Gs");
    if(Faction == 14) format(FactionName,sizeof(FactionName),"Ballas");
    if(Faction == 16) format(FactionName,sizeof(FactionName),"Vagos");
    if(Faction == 17) format(FactionName,sizeof(FactionName),"Aztecas");
    if(Faction == 18) format(FactionName,sizeof(FactionName),"Rifas");
    if(Faction == 19) format(FactionName,sizeof(FactionName),"Rs");
    else if(Faction == 12) format(FactionName,sizeof(FactionName),"Brigada");
    else format(FactionName,sizeof(FactionName),"NoN-Gang");
    return FactionName;
    }


    Habe meine Id`s rein gemacht

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Habe mal eine Frage an euch. Unzwar habe ich das Filterscript auf meine Fraktionen etc angepasst, habe das mit dem Returnen der Fraktionen nicht so ganz verstanden und denke da liegt auch der Fehler im Script. Wenn ich ein Gangfight starte dann komm User hat mit der NoN-Gang die NoN-Gang angegriffen. Wäre nett wenn mir das mit dem Returnen schnell jemand erklären kann.
    Hier der Code :
    stock IsAFightFaction(Faction){
    if(Faction == 5) return true;
    if(Faction == 6) return true;
    if(Faction == 12) return true;
    if(Faction == 13) return true;
    if(Faction == 14) return true;
    if(Faction == 16) return true;
    if(Faction == 17) return true;
    if(Faction == 18) return true;
    return true;
    }
    stock GetZoneColorOfFaction(Faction){
    if(Faction == 5) return 0x735354FF;
    if(Faction == 6) return 0x800000FF;
    if(Faction == 12) return 0x64126DFF;
    if(Faction == 13) return 0x008000FF;
    if(Faction == 14) return 0xFF00FFFF;
    if(Faction == 16) return 0xDFDF00FF;
    if(Faction == 17) return 0x0063C6FF;
    if(Faction == 18) return 0x6C0000FF;
    else return 0x00000000;//NoN-Gang
    }
    stock GetFactionNameOfFaction(Faction){
    new FactionName[64];
    if(Faction == 5) format(FactionName,sizeof(FactionName),"LCN");
    if(Faction == 6) format(FactionName,sizeof(FactionName),"Yakuza");
    if(Faction == 12) format(FactionName,sizeof(FactionName),"Triaden");
    if(Faction == 13) format(FactionName,sizeof(FactionName),"Grove Street");
    if(Faction == 14) format(FactionName,sizeof(FactionName),"Ballas");
    if(Faction == 16) format(FactionName,sizeof(FactionName),"Vagos");
    if(Faction == 17) format(FactionName,sizeof(FactionName),"Aztecas");
    if(Faction == 18) format(FactionName,sizeof(FactionName),"S.F Rifas");
    else format(FactionName,sizeof(FactionName),"NoN-Gang");
    return FactionName;
    }
    stock GetPlayerFaction(playerid){
    new Member = CallRemoteFunction("GetPlayerMember","i",playerid);
    if(Member)
    return Member;
    new Leader = CallRemoteFunction("GetPlayerLeader","i",playerid);
    if(Leader)
    return Leader;
    return 0;
    }