1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Downloads
  4. Galerie
    1. Alben
  5. Toolbox
    1. Passwort Generator
    2. Portchecker
  6. Mitglieder
    1. Mitgliedersuche
    2. Benutzer online
    3. Trophäen
    4. Team
Mi: 18 Juni 2025
  • Anmelden oder registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Forum
  • Dateien
  • Seiten
  • Bilder
  • Erweiterte Suche

Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.

Anmelden oder registrieren
    1. Nodezone.net Community
    2. Forum
    3. Gameserver & Hosting
    4. ArmA Series - ArmA 3 / Reforger
    5. Hilfeforum

    ClanTag - Gui erstellen

      • Altis Life
    • configSQF
    • 3. September 2019 um 20:54
    • Erledigt
    • configSQF
      Schüler
      Trophäen
      6
      Beiträge
      83
      • 3. September 2019 um 20:54
      • #1

      Guten Tag,

      Kann mir evt. jemand ein gui hierfür erstellen: Angezeigte ClanTags für Cop/Medic/Civ

      Ich habe das standart gang gui von altislfie .

      Info: Nun müsst ihr nur noch in eurem Dialog noch ein weiteres Eingabefeld hinzufügen mit der IDC = 2523 hat

      MfG - Joshua




    • Risk
      Kenner
      Reaktionen
      193
      Trophäen
      11
      Beiträge
      573
      • 3. September 2019 um 21:02
      • #2

      Hab da glaube ich noch eins hierfür rumfliegen. Lass mich mal kurz suchen

      mfg Risk

      https://www.twitch.tv/theriskarma

    • Risk
      Kenner
      Reaktionen
      193
      Trophäen
      11
      Beiträge
      573
      • 3. September 2019 um 21:05
      • #3

      Die gang.hpp

      Spoiler anzeigen
      Code
      class Life_My_Gang_Diag {
          idd = 2620;
          name= "life_my_gang_menu";
          movingEnable = 0;
          enableSimulation = 1;
          onLoad = "";
      
          class controlsBackground {
              class Life_RscTitleBackground: Life_RscText {
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
                  idc = -1;
                  x = 0.1;
                  y = 0.2;
                  w = 0.6;
                  h = (1 / 25);
              };
      
              class MainBackground: Life_RscText {
                  colorBackground[] = {0, 0, 0, 0.7};
                  idc = -1;
                  x = 0.1;
                  y = 0.2 + (11 / 250);
                  w = 0.6;
                  h = 0.6 - (22 / 250);
              };
          };
      
          class controls {
              class Title: Life_RscTitle {
                  colorBackground[] = {0, 0, 0, 0};
                  idc = 2629;
                  text = "";
                  x = 0.1;
                  y = 0.2;
                  w = 0.6;
                  h = (1 / 25);
              };
      
              class GangMemberList: Life_RscListBox
              {
                  idc = 2621;
                  text = "";
                  sizeEx = 0.035;
                  x = 0.11;
                  y = 0.26;
                  w = 0.350;
                  h = 0.370;
              };
      
              class CloseLoadMenu: Life_RscButtonMenu {
                  idc = -1;
                  text = "$STR_Global_Close";
                  onButtonClick = "closeDialog 0;call life_fnc_p_updateMenu";
                  x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
                  y = 0.8 - (1 / 25);
                  w = (6.25 / 40);
                  h = (1 / 25);
              };
      
              class GangLeave: Life_RscButtonMenu {
                  idc = -1;
                  text = "$STR_Gang_Leave";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "call life_fnc_gangLeave";
                  x = 0.47;
                  y = 0.26;
                  w = (9 / 40);
                  h = (1 / 25);
              };
      
              class GangLock: Life_RscButtonMenu {
                  idc = 2622;
                  text = "$STR_Gang_UpgradeSlots";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "0 spawn life_fnc_gangUpgrade";
                  x = 0.47;
                  y = 0.31;
                  w = (9 / 40);
                  h = (1 / 25);
              };
      
              class GangKick: Life_RscButtonMenu {
                  idc = 2624;
                  text = "$STR_Gang_Kick";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "call life_fnc_gangKick";
                  x = 0.47;
                  y = 0.36;
                  w = (9 / 40);
                  h = (1 / 25);
              };
      
              class GangLeader: Life_RscButtonMenu {
                  idc = 2625;
                  text = "$STR_Gang_SetLeader";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "0 spawn life_fnc_gangNewLeader";
                  x = 0.47;
                  y = 0.41;
                  w = (9 / 40);
                  h = (1 / 25);
              };
      
              class InviteMember: GangLeader {
                  idc = 2630;
                  text = "$STR_Gang_Invite_Player";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "0 spawn life_fnc_gangInvitePlayer";
                  y = .51;
              };
      
              class DisbandGang: InviteMember    {
                  idc = 2631;
                  text = "$STR_Gang_Disband_Gang";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "0 spawn life_fnc_gangDisband";
                  y = .46;
              };
      
              class ColorList: Life_RscCombo {
                  idc = 2632;
                  x = 0.47;
                  y = 0.56;
                  w = (9 / 40);
                  h = 0.03;
              };
      
              class GangBank: Title {
                  idc = 601;
                  style = 1;
                  text = "";
              };
          };
      };
      
      class Life_Create_Gang_Diag {
          idd = 2520;
          name= "life_my_gang_menu_create";
          movingEnable = 0;
          enableSimulation = 1;
          onLoad = "0 spawn {waitUntil {!isNull (findDisplay 2524)}; ((findDisplay 2520) displayCtrl 2523) ctrlSetText format [localize ""STR_Gang_PriceTxt"",[(getNumber(missionConfigFile >> 'Life_Settings' >> 'gang_price'))] call life_fnc_numberText]};";
      
          class controlsBackground {
              class Life_RscTitleBackground: Life_RscText {
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
                  idc = -1;
                  x = 0.1;
                  y = 0.2;
                  w = 0.5;
                  h = 0.04;
              };
      
              class MainBackground: Life_RscText {
                  colorBackground[] = {0, 0, 0, 0.7};
                  idc = -1;
                  x = 0.1;
                  y = 0.244;
                  w = 0.5;
                  h = 0.268;
              };
          };
      
          class controls {
              class InfoMsg: Life_RscStructuredText {
                  idc = 2524;
                  sizeEx = 0.020;
                  text = "";
                  x = 0.1;
                  y = 0.25;
                  w = 0.5;
                  h = 0.11;
              };
      
              class Title: Life_RscTitle {
                  colorBackground[] = {0, 0, 0, 0};
                  idc = -1;
                  text = "$STR_Gang_Title";
                  x = 0.1;
                  y = 0.2;
                  w = 0.5;
                  h = 0.04;
              };
      
              class CloseLoadMenu: Life_RscButtonMenu {
                  idc = -1;
                  text = "$STR_Global_Close";
                  onButtonClick = "closeDialog 0;call life_fnc_p_updateMenu;";
                  x = 0.09925;
                  y = 0.52;
                  w = 0.15625;
                  h = 0.04;
              };
      
              class GangCreateField: Life_RscButtonMenu {
                  idc = -1;
                  text = "$STR_Gang_Create";
                  colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
                  onButtonClick = "call life_fnc_createGang";
                  x = 0.27;
                  y = 0.464;
                  w = 0.15625;
                  h = 0.04;
              };
      
              class CreateGangText: Life_RscEdit {
                  idc = 2522;
                  text = "Gang-Name";
                  x = 0.2;
                  y = 0.368;
                  w = 0.325;
                  h = 0.04;
              };
              class CreateGangTag: Life_RscEdit {
                  idc = 2523;
                  text = "Gang-Tag";
                  x = 0.19925;
                  y = 0.418;
                  w = 0.325;
                  h = 0.04;
              };
          };
      };
      Alles anzeigen

      fn_createGang.sqf

      Spoiler anzeigen
      Code
      #include "..\..\script_macros.hpp"
      disableSerialization;
      private _gangName = ctrlText (CONTROL(2520,2522));
      private _gangTag = ctrlText (CONTROL(2520,2523));
      private _length = count (toArray(_gangName));
      private _chrByte = toArray (_gangName);
      private _chrByteTag = toArray (_gangTag);
      private _lengthTag = count (_chrByteTag);
      private _allowed = toArray("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ ");
      if (_length > 32) exitWith {hint localize "STR_GNOTF_Over32"};
      if (_lengthTag > 4) exitWith {hint localize "STR_GNOTF_Over4"};
      private _badChar = false;
      {
          if (!(_x in _allowed)) exitWith {_badChar = true;};
      } forEach _chrByte;
      if (_badChar) exitWith {hint localize "STR_GNOTF_IncorrectChar";};
      {
          if (!(_x in _allowed)) exitWith {_badCharTag = true;};
      } forEach _chrByteTag;
      
      if (_badChar) exitWith {hint localize "STR_GNOTF_IncorrectChar";};
      if (_lengthTag > 1) then {_gangTag = format ["[%1]",_gangTag];};
      if (BANK < (LIFE_SETTINGS(getNumber,"gang_price"))) exitWith {hint format [localize "STR_GNOTF_NotEnoughMoney",[((LIFE_SETTINGS(getNumber,"gang_price")) - BANK)] call life_fnc_numberText];};
      if (life_HC_isActive) then {
          [player,getPlayerUID player,_gangName ,_gangTag] remoteExec ["HC_fnc_insertGang",HC_Life];
      } else {
          [player,getPlayerUID player,_gangName ,_gangTag] remoteExec ["TON_fnc_insertGang",RSERV];
      };
      if (LIFE_SETTINGS(getNumber,"player_advancedLog") isEqualTo 1) then {
          if (LIFE_SETTINGS(getNumber,"battlEye_friendlyLogging") isEqualTo 1) then {
              advanced_log = format [localize "STR_DL_AL_createdGang_BEF",_gangName,(LIFE_SETTINGS(getNumber,"gang_price"))];
          } else {
              advanced_log = format [localize "STR_DL_AL_createdGang",profileName,(getPlayerUID player),_gangName,(LIFE_SETTINGS(getNumber,"gang_price"))];
          };
          publicVariableServer "advanced_log";
      };
      hint localize "STR_NOTF_SendingData";
      closeDialog 0;
      life_action_gangInUse = true;
      Alles anzeigen

      fn_insertGang.sqf

      Spoiler anzeigen
      Code
      #include "\life_server\script_macros.hpp"
      /*
       File: fn_insertGang.sqf
       Author: Bryan "Tonic" Boardwine
       modified: moeck
       Description:
       Inserts the gang into the database. Including now clantags (moeck)
      */
      params [
          ["_ownerID",objNull,[objNull]],
          ["_uid","",[""]],
          ["_gangName","",[""]],
          ["_gangTag","",[""]]
      ];
      private _group = group _ownerID;
      if (isNull _ownerID || _uid isEqualTo "" || _gangName isEqualTo "" || _gangTag isEqualTo "") exitWith {}; //Fail
      _ownerID = owner _ownerID;
      _gangName = [_gangName] call DB_fnc_mresString;
      _gangTag = [_gangTag] call DB_fnc_mresString;
      private _query = format ["selectGangID:%1:%2", _gangName,_gangTag];
      private _queryResult = [_query, 2] call DB_fnc_asyncCall;
      
      //Check to see if the gang name already exists.
      if !(_queryResult isEqualTo []) exitWith {
          [1,"There is already a gang created with that name or gang tag please pick another name or clantag."] remoteExecCall ["life_fnc_broadcast",_ownerID];
          life_action_gangInUse = nil;
          _ownerID publicVariableClient "life_action_gangInUse";
      };
      
      private _uidLike = format["%2%1%2", _uid, "%"];
      _query = format ["selectGangIDFromMembers:%1", _uidLike];
      
      _queryResult = [_query,2 ] call DB_fnc_asyncCall;
      
      //Check to see if this person already owns or belongs to a gang.
      if (!(count _queryResult isEqualTo 0)) exitWith {
          [1,"You are currently already active in a gang, please leave the gang first."] remoteExecCall ["life_fnc_broadcast",_ownerID];
          life_action_gangInUse = nil;
          _ownerID publicVariableClient "life_action_gangInUse";
      };
      //Check to see if a gang with that name already exists but is inactive.
      _query = format ["selectInactiveGang:%1:%2", _gangName, _gangTag];
      
      _queryResult = [_query, 2] call DB_fnc_asyncCall;
      private _gangMembers = [[_uid]] call DB_fnc_mresArray;
      
      if !(_queryResult isEqualTo []) then {
          _query = format ["updateGang:%1:%2:%3:%4:%5", (_queryResult select 0), _gangMembers, _gangName, _gangTag,_uid];
      } else {
          _query = format ["insertGang:%1:%2:%3:%4", _uid, _gangName, _gangMembers, _gangTag];
      };
      _queryResult = [_query,1] call DB_fnc_asyncCall;
      _group setVariable ["gang_name",_gangName,true];
      _group setVariable ["gang_owner",_uid,true];
      _group setVariable ["gang_bank",0,true];
      _group setVariable ["gang_maxMembers",8,true];
      _group setVariable ["gang_members",[_uid],true];
      _group setVariable ["gang_tag",_gangTag,true];
      [_group] remoteExecCall ["life_fnc_gangCreated",_ownerID];
      uiSleep 0.35;
      _query = format ["selectGangIDFromOwner:%1", _uid];
      
      _queryResult = [_query, 2] call DB_fnc_asyncCall;
      
      _group setVariable ["gang_id", (_queryResult select 0), true];
      Alles anzeigen

      mfg Risk

      https://www.twitch.tv/theriskarma

    • configSQF
      Schüler
      Trophäen
      6
      Beiträge
      83
      • 3. September 2019 um 21:07
      • #4

      Danke schonmal für die schnelle antwork aber würde es gehen wenn ich aus deiner gang.hpp einfach das nehmen würde?

      Code
      class CreateGangTag: Life_RscEdit {
       idc = 2523;
       text = "Gang-Tag";
       x = 0.19925;
       y = 0.418;
       w = 0.325;
       h = 0.04;
       };
       };




    • Risk
      Kenner
      Reaktionen
      193
      Trophäen
      11
      Beiträge
      573
      • 3. September 2019 um 21:08
      • #5
      Zitat von configSQF

      Danke schonmal für die schnelle antwork aber würde es gehen wenn ich aus deiner gang.hpp einfach das nehmen würde?

      Code
      class CreateGangTag: Life_RscEdit {
       idc = 2523;
       text = "Gang-Tag";
       x = 0.19925;
       y = 0.418;
       w = 0.325;
       h = 0.04;
       };
       };

      Nein weil dann keins erstellt wird.

      Weiß aber nicht mehr ganz ob da noch mehr war außer die 3 Sachen.

      mfg Risk

      https://www.twitch.tv/theriskarma

    • configSQF
      Schüler
      Trophäen
      6
      Beiträge
      83
      • 3. September 2019 um 21:14
      • #6

      Ich meinte wenn ich das in meiner gang.hpp einfach einfüge.




    Registrieren oder Einloggen

    Du bist noch kein Mitglied von NodeZone.net? Registriere dich kostenlos und werde Teil einer großartigen Community!

    Registrieren

    Benutzer online in diesem Thema

    • 1 Besucher

    Wichtige Links & Informationen

    Server & Hosting-Ressourcen

      Server Administration & Hosting Basics

      Windows Server Support & Guides

      Linux Server Configuration & Help

      Setting up TeamSpeak 3 & VoIP Servers

      Domains & Web Hosting for Beginners & Professionals

      Cloud Hosting, Docker & Kubernetes Tutorials

    Gameserver & Modding-Ressourcen

      ArmA 3 Tutorials & Script Collection

      Renting & Operating Gameservers

      DayZ Server Management & Help

      FiveM (GTA V) Server & Script Development

      Rust Server Modding & Administration

      Setting up & Optimizing ARK Survival Servers

    NodeZone.net – Deine Community für Gameserver, Server-Hosting & Modding

      NodeZone.net ist dein Forum für Gameserver-Hosting, Rootserver, vServer, Webhosting und Modding. Seit 2015 bietet unsere Community eine zentrale Anlaufstelle für Server-Admins, Gamer und Technikbegeisterte, die sich über Server-Management, Hosting-Lösungen und Spielemodding austauschen möchten.


      Ob Anleitungen für eigene Gameserver, Hilfe bei Root- und vServer-Konfigurationen oder Tipps zu Modding & Scripting – bei uns findest du fundiertes Wissen und praxisnahe Tutorials. Mit einer stetig wachsenden Community findest du hier Antworten auf deine Fragen, Projektpartner und Gleichgesinnte für deine Gaming- und Serverprojekte. Schließe dich NodeZone.net an und werde Teil einer aktiven Community rund um Server-Hosting, Gameserver-Management und Modding-Ressourcen.

    Wer jetzt nicht teilt ist selber Schuld:
    1. Nutzungsbestimmungen
    2. Datenschutzerklärung
    3. Impressum
    4. Urheberrechts- oder Lizenzverstoß melden
  • Trimax Design coded & layout by Gino Zantarelli 2023-2025©
    Community-Software: WoltLab Suite™