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
Fr: 23 Mai 2025
  • Anmelden oder registrieren
  • Suche
Alles
  • Alles
  • 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. Mitglieder
    3. PoweredByte

    Beiträge von PoweredByte

    • 3d Modelle in Vanilla Arma ohne Mods

      • PoweredByte
      • 20. Februar 2017 um 20:14

      Habe schon probiert das Problem mit dem gekickt werden zu fixen, jedoch ohne jeglichen Erfolg.. selbst wenn BattlEye deaktiviert ist wird man noch gekickt :D

    • [Ein Tutorial] Das sagenumwobene Blaulichtscript von der die Rede war...

      • PoweredByte
      • 19. Februar 2017 um 18:49

      Kurze Frage, was muss ich einfügen damit East(ADAC) auch ein Gelblicht hat?.

      Hab in der emergencyLightsConfig.hpp bereits class east und das Fahrzeug hinzugefügt

    • Probleme mit Cop Rang System

      • PoweredByte
      • 15. Februar 2017 um 19:42

      mh... also an der Datei liegt es aufjedenfall nicht!. Du bist dir sicher das du dir in der Datenbank nur Coplevel 1 gegeben hast, um das als Rekrut zu testen?.

    • Spawn Menü macht probleme

      • PoweredByte
      • 15. Februar 2017 um 18:23

      Benutz mal die spawnDatei ;)

      Python: spawn.txt
      /*
      *    Format:
      *        3: STRING (Conditions) - Must return boolean :
      *            String can contain any amount of conditions, aslong as the entire
      *            string returns a boolean. This allows you to check any levels, licenses etc,
      *            in any combination. For example:
      *                "call life_coplevel && license_civ_someLicense"
      *            This will also let you call any other function.
      *
      */
      
      
      
      
      class CfgSpawnPoints {
      
      
      
      
              class Civilian {
                  class Brisbane {
                      displayName = "Brisbane";
                      spawnMarker = "civ_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "!license_civ_rebel";
                  };
      
      
      
      
                  class Melbourne {
                      displayName = "Melbourne";
                      spawnMarker = "civ_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class Adelaide {
                      displayName = "Adelaide";
                      spawnMarker = "civ_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class Perth {
                      displayName = "Perth";
                      spawnMarker = "civ_spawn_4";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "";
                  };
      			class Sydney {
                      displayName = "Sydney";
                      spawnMarker = "civ_spawn_5";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "";
                  };
              };
      
      
      
      
              class Cop {
                  class AdelaideHQ {
                      displayName = "AdelaideHQ";
                      spawnMarker = "cop_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class MelbourneHQ {
                      displayName = "MelbourneHQ";
                      spawnMarker = "cop_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\fuelstation_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class Sydney {
                      displayName = "Sydney HQ";
                      spawnMarker = "cop_spawn_1";
                      icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
                      conditions = "";
                  };
              };
      
      
      
      
              class Medic {
      
      
      
      
                  class SydneyHospital {
                      displayName = "Sydney Hospital";
                      spawnMarker = "medic_spawn_1";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class MelbourneHospital {
                      displayName = "Melbourne Hospital";
                      spawnMarker = "medic_spawn_2";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      conditions = "";
                  };
      
      
      
      
                  class AdelaideHospital {
                      displayName = "Adelaide Hospital";
                      spawnMarker = "medic_spawn_3";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      conditions = "";
                  };
      			class AliceSpringsHospital {
                      displayName = "Alice Springs Hospital";
                      spawnMarker = "medic_spawn_4";
                      icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
                      conditions = "";
                  };
              };
      	};
      Alles anzeigen


      EDIT:

      Hab das (class Australia { ) gelöscht. Kam mir sehr seltsam vor O_o

    • [Tutorial] DE100-Benachrichtigungssystem

      • PoweredByte
      • 13. Februar 2017 um 20:13
      Zitat von Miller-Visuals

      Wie gebe ich das ein wenn ich z.B. das habe:

      hint localize "STR_Session_SyncData";

      ?

      [localize "STR_Session_SyncData",true,"fast"] call life_fnc_notification_system;

    • Spielen ohne DLC/Mods

      • PoweredByte
      • 13. Februar 2017 um 19:03

      Kenne es so, das man über die @life_server die Objekte platzieren lässt.

    • Nachrichtensystem - Hilfe

      • PoweredByte
      • 12. Februar 2017 um 15:23

      Blackfisch nochmal eine kleine Anmerkung.

      Wenn man eine Nachricht bekommt, erscheint sie zwar- jedoch kommt folgende Skriptmeldung:

      Bild

    • Nachrichtensystem - Hilfe

      • PoweredByte
      • 12. Februar 2017 um 15:10

      Nochmal eine kurze Frage,

      Wie würde es in diesem Fall aussehen:

      hint format[""%1 has gave you keys for a %2"",_giver,_name];

      entweder:

      [""%1 has gave you keys for a %2,_giver,_name"",true,""fast""] call life_fnc_notification_system;

      oder

      [""%1 has gave you keys for a %2",_giver,_name",true,""fast""] call life_fnc_notification_system;

      ?

    • Nachrichtensystem - Hilfe

      • PoweredByte
      • 12. Februar 2017 um 14:43

      Okay aktueller Statusbericht.

      Man kann wie es aussieht keine Nachrichten über den @life_server schreiben. hätte da jemand eine Lösung für mich?.

    • Nachrichtensystem - Hilfe

      • PoweredByte
      • 12. Februar 2017 um 14:05

      Funktioniert nicht, hatte die Semicolons nur zum ausprobieren geschrieben.

    • Nachrichtensystem - Hilfe

      • PoweredByte
      • 12. Februar 2017 um 13:57

      Juten Tach. Kriege folgenden Fehler:

      Code
      13:53:29 Error in expression < joinSilent (createGroup civilian);
                      ["You have been kicked out of the gang.",t>
      13:53:29   Error position: <You have been kicked out of the gang.",t>
      13:53:29   Error Missing ;
      13:53:29 File life_server\functions.sqf, line 62
      13:53:29 Error in expression < joinSilent (createGroup civilian);
                      ["You have been kicked out of the gang.",t>
      13:53:29   Error position: <You have been kicked out of the gang.",t>
      13:53:29   Error Missing ;
      13:53:29 File life_server\functions.sqf, line 62


      Code: functions.sqf
      #include "script_macros.hpp"
      /*
          File: functions.sqf
          Author: Bryan "Tonic" Boardwine
      
      
      
      
          Description: They are functions.
      */
      TON_fnc_index =
      compileFinal "
          private[""_item"",""_stack""];
          _item = _this select 0;
          _stack = _this select 1;
          _return = -1;
      
      
      
      
          {
              if (_item in _x) exitWith {
                  _return = _forEachIndex;
              };
          } forEach _stack;
      
      
      
      
          _return;
      ";
      
      
      
      
      TON_fnc_player_query =
      compileFinal "
          private[""_ret""];
          _ret = _this select 0;
          if (isNull _ret) exitWith {};
          if (isNil ""_ret"") exitWith {};
      
      
      
      
          [life_atmbank,life_cash,owner player,player,profileNameSteam,getPlayerUID player,playerSide] remoteExecCall [""life_fnc_admininfo"",_ret];
      ";
      publicVariable "TON_fnc_player_query";
      publicVariable "TON_fnc_index";
      
      
      
      
      TON_fnc_isnumber =
      compileFinal "
          private[""_valid"",""_array""];
          _valid = [""0"",""1"",""2"",""3"",""4"",""5"",""6"",""7"",""8"",""9""];
          _array = [_this select 0] call KRON_StrToArray;
          _return = true;
      
      
      
      
          {
              if (!(_x in _valid)) exitWith {
                  _return = false;
              };
          } forEach _array;
          _return;
      ";
      
      
      
      
      publicVariable "TON_fnc_isnumber";
      
      
      
      
      TON_fnc_clientGangKick =
      compileFinal "
          private[""_unit"",""_group""];
          _unit = _this select 0;
          _group = _this select 1;
          if (isNil ""_unit"" || isNil ""_group"") exitWith {};
          if (player isEqualTo _unit && (group player) == _group) then {
              life_my_gang = ObjNull;
              [player] joinSilent (createGroup civilian);
      		["You have been kicked out of the gang.",true,"fast"]; call life_fnc_notification_system;
          };
      ";
      
      
      
      
      publicVariable "TON_fnc_clientGangKick";
      
      
      
      
      TON_fnc_clientGetKey =
      compileFinal "
          private[""_vehicle"",""_unit"",""_giver""];
          _vehicle = _this select 0;
          _unit = _this select 1;
          _giver = _this select 2;
          if (isNil ""_unit"" || isNil ""_giver"") exitWith {};
          if (player isEqualTo _unit && !(_vehicle in life_vehicles)) then {
              _name = getText(configFile >> ""CfgVehicles"" >> (typeOf _vehicle) >> ""displayName"");
      		[""%1 has gave you keys for a %2",_giver,_name",false,"fast"]; call life_fnc_notification_system;
              life_vehicles pushBack _vehicle;
              [getPlayerUID player,playerSide,_vehicle,1] remoteExecCall [""TON_fnc_keyManagement"",2];
          };
      ";
      
      
      
      
      publicVariable "TON_fnc_clientGetKey";
      
      
      
      
      TON_fnc_clientGangLeader =
      compileFinal "
          private[""_unit"",""_group""];
          _unit = _this select 0;
          _group = _this select 1;
          if (isNil ""_unit"" || isNil ""_group"") exitWith {};
          if (player isEqualTo _unit && (group player) == _group) then {
              player setRank ""COLONEL"";
              _group selectLeader _unit;
      		["You have been made the new leader.",false,"fast"] call ;
          };
      ";
      
      
      
      
      publicVariable "TON_fnc_clientGangLeader";
      
      
      
      
      TON_fnc_clientGangLeft =
      compileFinal "
          private[""_unit"",""_group""];
          _unit = _this select 0;
          _group = _this select 1;
          if (isNil ""_unit"" || isNil ""_group"") exitWith {};
          if (player isEqualTo _unit && (group player) == _group) then {
              life_my_gang = ObjNull;
              [player] joinSilent (createGroup civilian);
      		["You have quit the gang.",false,"fast"]; call life_fnc_notification_system;
          };
      ";
      
      
      
      
      publicVariable "TON_fnc_clientGangLeft";
      
      
      
      
      //Cell Phone Messaging
      /*
          -fnc_cell_textmsg
          -fnc_cell_textcop
          -fnc_cell_textadmin
          -fnc_cell_adminmsg
          -fnc_cell_adminmsgall
      */
      
      
      
      
      //To EMS
      TON_fnc_cell_emsrequest =
      compileFinal "
      private[""_msg"",""_to""];
          ctrlShow[3022,false];
          _msg = ctrlText 3003;
          _to = ""EMS Units"";
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3022,true];};
      
      
      
      
          [_msg,name player,5,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",independent];
          [] call life_fnc_cellphone;
          hint format[""You have sent a message to all EMS Units."",_to,_msg];
          ctrlShow[3022,true];
      ";
      //To One Person
      TON_fnc_cell_textmsg =
      compileFinal "
          private[""_msg"",""_to""];
          ctrlShow[3015,false];
          _msg = ctrlText 3003;
          if (lbCurSel 3004 isEqualTo -1) exitWith {hint ""You must select a player you are sending the text to!""; ctrlShow[3015,true];};
          _to = call compile format[""%1"",(lbData[3004,(lbCurSel 3004)])];
          if (isNull _to) exitWith {ctrlShow[3015,true];};
          if (isNil ""_to"") exitWith {ctrlShow[3015,true];};
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3015,true];};
      
      
      
      
          [_msg,name player,0] remoteExecCall [""TON_fnc_clientMessage"",_to];
          [] call life_fnc_cellphone;
          hint format[""You sent %1 a message: %2"",name _to,_msg];
          ctrlShow[3015,true];
      ";
      //To All Cops
      TON_fnc_cell_textcop =
      compileFinal "
          private[""_msg"",""_to""];
          ctrlShow[3016,false];
          _msg = ctrlText 3003;
          _to = ""The Police"";
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3016,true];};
      
      
      
      
          [_msg,name player,1,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",-2];
          [] call life_fnc_cellphone;
          hint format[""You sent %1 a message: %2"",_to,_msg];
          ctrlShow[3016,true];
      ";
      //To All Admins
      TON_fnc_cell_textadmin =
      compileFinal "
          private[""_msg"",""_to"",""_from""];
          ctrlShow[3017,false];
          _msg = ctrlText 3003;
          _to = ""The Admins"";
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3017,true];};
      
      
      
      
          [_msg,name player,2,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",-2];
          [] call life_fnc_cellphone;
          hint format[""You sent %1 a message: %2"",_to,_msg];
          ctrlShow[3017,true];
      ";
      //Admin To One Person
      TON_fnc_cell_adminmsg =
      compileFinal "
          if (isServer) exitWith {};
          if ((call life_adminlevel) < 1) exitWith {hint ""You are not an admin!"";};
          private[""_msg"",""_to""];
          ctrlShow[3020,false];
          _msg = ctrlText 3003;
          _to = call compile format[""%1"",(lbData[3004,(lbCurSel 3004)])];
          if (isNull _to) exitWith {ctrlShow[3020,true];};
          if (isNil ""_to"") exitWith {ctrlShow[3020,true];};
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3020,true];};
      
      
      
      
          [_msg,name player,3] remoteExecCall [""TON_fnc_clientMessage"",_to];
          [] call life_fnc_cellphone;
          hint format[""Admin Message Sent To: %1 - Message: %2"",name _to,_msg];
          ctrlShow[3020,true];
      ";
      
      
      
      
      TON_fnc_cell_adminmsgall =
      compileFinal "
          if (isServer) exitWith {};
          if ((call life_adminlevel) < 1) exitWith {hint ""You are not an admin!"";};
          private[""_msg"",""_from""];
          ctrlShow[3021,false];
          _msg = ctrlText 3003;
          if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3021,true];};
      
      
      
      
          [_msg,name player,4] remoteExecCall [""TON_fnc_clientMessage"",-2];
          [] call life_fnc_cellphone;
          hint format[""Admin Message Sent To All: %1"",_msg];
          ctrlShow[3021,true];
      ";
      TON_fnc_cell_polizeimsgall = //NEW
      compileFinal "
       if(isServer) exitWith {};
       if((call life_coplevel) < 3) exitWith {hint ""Du bist dazu nicht berechtigt!"";};
       private[""_msg"",""_from""];
       ctrlShow[3023,false];
       _msg = ctrlText 3003;
       if(_msg == """") exitWith {hint ""Du musst eine Nachricht eingeben!"";ctrlShow[3023,true];};
       [_msg,name player,6] remoteExecCall [""TON_fnc_clientMessage"",-2];
       [] call life_fnc_cellphone;
       hint format[""gesendete Rundfunknachricht: %1"",_msg];
       ctrlShow[3023,true];
      ";
      //To all for a Server Event
      TON_fnc_cell_serverMessageall =
      compileFinal "
      if(isServer) exitWith {}; 
      if((call life_adminlevel) < 1) exitWith {hint ""You are not an Admin!"";}; 
      private[""_msg"",""_from""]; 
      _msg = ctrlText 3003; 
      if (_msg isEqualTo """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3021,true];}; 
      [_msg,name player,7] remoteExec [""TON_fnc_clientMessage"",0]; 
      [] call life_fnc_cellphone; 
      hint format[""Server Event Message Sent To All: %1"",_msg];
      ";
      publicVariable "TON_fnc_cell_textmsg";
      publicVariable "TON_fnc_cell_textcop";
      publicVariable "TON_fnc_cell_textadmin";
      publicVariable "TON_fnc_cell_adminmsg";
      publicVariable "TON_fnc_cell_adminmsgall";
      publicVariable "TON_fnc_cell_emsrequest";
      publicVariable "TON_fnc_cell_polizeimsgall";
      publicVariable "TON_fnc_cell_serverMessageall";
      //Client Message
      /*
          0 = private message
          1 = police message
          2 = message to admin
          3 = message from admin
          4 = admin message to all
      */
      TON_fnc_clientMessage =
      compileFinal "
          if (isServer) exitWith {};
          private[""_msg"",""_from"", ""_type""];
          _msg = _this select 0;
          _from = _this select 1;
          _type = _this select 2;
          if (_from isEqualTo """") exitWith {};
          switch (_type) do {
              case 0 : {
                  private[""_message""];
                  _message = format["">>>MESSAGE FROM %1: %2"",_from,_msg];
                  hint parseText format [""<t color='#FFCC00'><t size='2'><t align='center'>New Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%2"",_from,_msg];
      
      
      
      
                  [""TextMessage"",[format[""You Received A New Private Message From %1"",_from]]] call bis_fnc_showNotification;
                  systemChat _message;
              };
      
      
      
      
              case 1 : {
                  if (side player != west) exitWith {};
                  private[""_message"",""_loc"",""_unit""];
                  _loc = _this select 3;
                  _unit = _this select 4;
                  _message = format[""--- 911 DISPATCH FROM %1: %2"",_from,_msg];
                  if (isNil ""_loc"") then {_loc = ""Unknown"";};
                  hint parseText format [""<t color='#316dff'><t size='2'><t align='center'>New Dispatch<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>All Officers<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg];
      
      
      
      
                  [""PoliceDispatch"",[format[""A New Police Report From: %1"",_from]]] call bis_fnc_showNotification;
                  systemChat _message;
              };
      
      
      
      
              case 2 : {
                  if ((call life_adminlevel) < 1) exitWith {};
                  private[""_message"",""_loc"",""_unit""];
                  _loc = _this select 3;
                  _unit = _this select 4;
                  _message = format[""!!! ADMIN REQUEST FROM %1: %2"",_from,_msg];
                  if (isNil ""_loc"") then {_loc = ""Unknown"";};
                  hint parseText format [""<t color='#ffcefe'><t size='2'><t align='center'>Admin Request<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>Admins<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg];
      
      
      
      
                  [""AdminDispatch"",[format[""%1 Has Requested An Admin!"",_from]]] call bis_fnc_showNotification;
                  systemChat _message;
              };
      
      
      
      
              case 3 : {
                  private[""_message""];
                  _message = format[""!!! ADMIN MESSAGE: %1"",_msg];
                  _admin = format[""Sent by admin: %1"", _from];
                  hint parseText format [""<t color='#FF0000'><t size='2'><t align='center'>Admin Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>An Admin<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%1"",_msg];
      
      
      
      
                  [""AdminMessage"",[""You Have Received A Message From An Admin!""]] call bis_fnc_showNotification;
                  systemChat _message;
                  if ((call life_adminlevel) > 0) then {systemChat _admin;};
              };
      
      
      
      
              case 4 : {
                  private[""_message"",""_admin""];
                  _message = format[""!!!ADMIN MESSAGE: %1"",_msg];
                  _admin = format[""Sent by admin: %1"", _from];
                  hint parseText format [""<t color='#FF0000'><t size='2'><t align='center'>Admin Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>All Players<br/><t color='#33CC33'>From: <t color='#ffffff'>The Admins<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%1"",_msg];
      
      
      
      
                  [""AdminMessage"",[""You Have Received A Message From An Admin!""]] call bis_fnc_showNotification;
                  systemChat _message;
                  if ((call life_adminlevel) > 0) then {systemChat _admin;};
              };
      
      
      
      
              case 5: {
                  if (side player != independent) exitWith {};
                  private[""_message"",""_loc"",""_unit""];
                  _loc = _this select 3;
                  _unit = _this select 4;
                  _message = format[""!!! EMS REQUEST: %1"",_msg];
                  hint parseText format [""<t color='#FFCC00'><t size='2'><t align='center'>EMS Request<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg];
      
      
      
      
                  [""TextMessage"",[format[""EMS Request from %1"",_from]]] call bis_fnc_showNotification;
              };
      		case 6:{
      			private[""_message"",""_admin""];
      			_message = format[""POLIZEI RUNDFUNK: %1"",_msg];
      			hint parseText format [""<t color='#0000FF'><t size='2'><t align='center'>Polizei Rundfunk<br/><br/><t color='#33CC33'><t align='left'><t size='1'>An: <t color='#ffffff'>Alle Bürger<br/><t color='#33CC33'>Von: <t color='#ffffff'>Polizei Altis<br/><br/><t color='#33CC33'>Mitteilung:<br/><t color='#ffffff'>%1"",_msg];
      			[""PolizeiRundfunk"",[""Neue Polizei Mitteilung""]] call bis_fnc_showNotification;
      			systemChat _message;
      		};
      		case 7:{ 
      			private[""_message"",""_admin""]; 
      			_message = format[""Server Event: %1"",_msg]; 
      			_admin = format[""Sent by admin: %1"", _from]; 
      			hint parseText format [""<t color='#A00ED0'><t size='2'><t align='center'>Server Event<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>All Players<br/><t color='#33CC33'>From: <t color='#ffffff'>The Admins<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%1"",_msg];
      			[""AdminMessage"",[""You Have Received A Message From An Admin regarding a Server event!""]] call bis_fnc_showNotification; 
      			systemChat _message; 
      			if((call life_adminlevel) > 1) then {systemChat _admin;}; 
      		};
          };
      ";
      publicVariable "TON_fnc_clientMessage";
      
      
      
      
      TON_fnc_MapMarkersAdmin = compileFinal "
        life_markers_Vehicles = [];
        life_markers_Players = [];
        if (!life_markers) then {
          life_markers = true;
          hint localize ""STR_ANOTF_MEnabled"";
        } else {
          life_markers = false;
          hint localize ""STR_ANOTF_MDisabled"";
        };
          for ""_i"" from 0 to 1 step 0 do {
              if (!life_markers) exitWith {};
          {
            if ((vehicle _x isKindOf ""LandVehicle"") || (vehicle _x isKindOf ""Air"") || (vehicle _x isKindOf ""Ship"")) then {
              if (count(crew vehicle _x) > 0) then {
                {
                  if (!(_x in life_markers_Vehicles) && (alive _x) && (getPlayerUID _x != """")) then {
                    private[""_pos"", ""_Markers"", ""_Vehicle""];
                    _Vehicle = vehicle _x;
                    _pos = visiblePosition _x;
                    _Markers = createMarkerLocal[format[""CRW%1%2"", _pos select 0, _pos select 1], [(_pos select 0) + 20, _pos select 1, 0]];
                    _TypeVehicle = (getText(configFile >> 'CfgVehicles' >> (typeOf vehicle _x) >> 'displayName'));
                    _Markers setMarkerTextLocal format['%1---%2---%3m', name _x, _TypeVehicle, round(_x distance player)];
                    _Markers setMarkerTypeLocal ""mil_dot"";
                    if (side _x isEqualTo independent) then {
                      _Markers setMarkerColorLocal (""ColorIndependent"");
                    };
                    if (side _x isEqualTo civilian) then {
                      _Markers setMarkerColorLocal (""ColorCivilian"");
                    };
                    if (side _x isEqualTo west) then {
                      _Markers setMarkerColorLocal (""ColorBLUFOR"");
                    };
                    _Markers setMarkerSizeLocal[1, 1];
                    life_markers_Vehicles pushBack _x;
                    [_x, _Markers, _Vehicle, _TypeVehicle] spawn {
                      private[""_PlayersOrVehicles"", ""_Marker"", ""_CrewVehicle""];
                      _PlayersOrVehicles = _this select 0;
                      _Marker = _this select 1;
                                      _TypeVehicle = _this select 3;
                                      for ""_i"" from 0 to 1 step 0 do {
                                          if (!life_markers && !(alive _PlayersOrVehicles) && (vehicle _PlayersOrVehicles == _PlayersOrVehicles) && (getPlayerUID _PlayersOrVehicles != """")) exitWith {};
                        _CrewVehicle = ((crew vehicle _PlayersOrVehicles) find _PlayersOrVehicles);
                        _Marker setMarkerPosLocal([(visiblePosition _PlayersOrVehicles select 0) + 20, (visiblePosition _PlayersOrVehicles select 1) - (25 + _CrewVehicle * 20), 0]);
                                          _Marker setMarkerTextLocal format['%1---%2---%3m', name _PlayersOrVehicles, _TypeVehicle, round(_PlayersOrVehicles distance player)];
                        sleep 0.01;
                      };
                      deleteMarkerLocal _Marker;
                      if (_PlayersOrVehicles in life_markers_Vehicles) then {
                                          life_markers_Vehicles deleteAt (life_markers_Vehicles find _PlayersOrVehicles);
                      };
                      true;
                    };
                  };
                } forEach crew vehicle _x;
              };
            } else {
              if (!(_x in life_markers_Players) && (vehicle _x == _x) && (getPlayerUID _x != """")) then {
                private[""_pos"", ""_Markers""];
                _pos = visiblePosition _x;
                _Markers = createMarkerLocal[format[""PLR%1%2"", _pos select 0, _pos select 1], [(_pos select 0) + 20, _pos select 1, 0]];
                _Markers setMarkerTypeLocal ""mil_dot"";
                _Markers setMarkerSizeLocal[1, 1];
                if (side _x isEqualTo independent) then {
                  _Markers setMarkerColorLocal (""ColorIndependent"");
                };
                if (side _x isEqualTo civilian) then {
                  _Markers setMarkerColorLocal (""ColorCivilian"");
                };
                if (side _x isEqualTo west) then {
                  _Markers setMarkerColorLocal (""ColorBLUFOR"");
                };
                _Markers setMarkerTextLocal format[""%1---%2"", name _x, round(_x distance player)];
                if (_x == player) then {
                  _Markers setMarkerColorLocal ""ColorGreen"";
                };
                life_markers_Players pushBack _x;
                [_x, _Markers] spawn {
                  private[""_PlayersOrVehicles"", ""_Marker""];
                  _PlayersOrVehicles = _this select 0;
                  _Marker = _this select 1;
                              for ""_i"" from 0 to 1 step 0 do {
                                  if (!life_markers && !(alive _PlayersOrVehicles) && (vehicle _PlayersOrVehicles != _PlayersOrVehicles) && (getPlayerUID _PlayersOrVehicles != """")) exitWith {};
                    _Marker setMarkerPosLocal([visiblePosition _PlayersOrVehicles select 0, visiblePosition _PlayersOrVehicles select 1, 0]);
                    _Marker setMarkerTextLocal format[""%1---%2"", name _PlayersOrVehicles, round(_PlayersOrVehicles distance player)];
                    sleep 0.01;
                  };
                  deleteMarkerLocal _Marker;
                  if (_PlayersOrVehicles in life_markers_Players) then {
                                  life_markers_Players deleteAt (life_markers_Players find _PlayersOrVehicles);
                  };
                  true;
                };
              };
            };
          } forEach playableUnits;
          sleep 0.3;
        };
        {
          _Markers = str _x;
          deleteMarkerLocal _Markers;
        } forEach playableUnits;
      ";
      
      
      
      
      publicVariable "TON_fnc_MapMarkersAdmin";
      Alles anzeigen
      Code: fn_notification_system.sqf
      /*
       File: fn_notification_system.sqf
       Date: 2016-07-23 18:15:17
       Author: Patrick "Lucian" Schmidt
       Modified by: blackfisch
       Description:
       Arguments:
       0: Text <STRING>
       1: Type <BOOLEAN>
       2: Speed <STRING>
      */
      params[
       "_text",
       ["_error",false,[false]],
       ["_speed","",[""]]
      ];
      if (isServer || !hasInterface) exitWith {};
      disableSerialization;
      _display = finddisplay 46;
      if (playerNamespace getVariable ["de100_notify",true]) then {
       if (_error) then {
       playSound "3DEN_notificationWarning";
       } else {
       playSound "HintExpand";
       };
      };
      private _headerColor = if (_error) then {
       [0.538433,0,0,0.8];
      } else {
       [(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])];
      };
      if (_text isEqualType "") then {
       _text = parseText _text;
      };
      private _Header = _display ctrlCreate ["RscText", -1];
      _Header ctrlSetPosition [0.005 * safezoneW + safezoneX, 0.01 * safezoneH + safezoneY, 0.2 * safezoneW, 0.011 * safezoneH];
      _Header ctrlSetBackgroundColor _headerColor;
      _Header ctrlSetFade 1;
      _Header ctrlCommit 0;
      _Header ctrlSetFade 0;
      _Header ctrlCommit 0.4;
      private _TextField = _display ctrlCreate ["RscStructuredText", -1];
      _TextField ctrlSetStructuredText _text;
      _TextField ctrlSetPosition [0.005 * safezoneW + safezoneX, 0.021 * safezoneH + safezoneY,0.2 * safezoneW, 0.5];
      _TextField ctrlCommit 0;
      _TextField ctrlSetPosition [0.005 * safezoneW + safezoneX, 0.021 * safezoneH + safezoneY,0.2 * safezoneW, ((ctrlTextHeight _TextField)+ (0.005 * safezoneH))];
      _TextField ctrlSetBackgroundColor [0,0,0,0.75];
      _TextField ctrlSetFade 1;
      _TextField ctrlCommit 0;
      _TextField ctrlSetFade 0;
      _TextField ctrlCommit 0.4;
      [_TextField,_Header,_speed] spawn {
       disableSerialization;
       if (_this select 2 isEqualTo "fast") then {
       uiSleep 5;
       } else {
       uiSleep 15;
       };
       private _TextField = _this select 0;
       private _Header = _this select 1;
       _TextField ctrlSetFade 1;
       _TextField ctrlCommit 0.3;
       _Header ctrlSetFade 1;
       _Header ctrlCommit 0.3;
       uiSleep 0.3;
       ctrlDelete _Header;
       ctrlDelete _TextField;
      };
      private _posText = (ctrlPosition (_TextField)) select 1;
      private _posHeader = (ctrlPosition (_Header)) select 1;
      private _textHigh = (ctrlPosition (_TextField)) select 3;
      if (count life_open_notifications > 0) then {
       private _activeNotifications = 0;
       {
       private _ctrlHeader = _x select 0;
       private _ctrlText = _x select 1;
       if (!isNull _ctrlHeader && !isNull _ctrlText) then {
       _ctrlHeader ctrlSetPosition [0.005 * safezoneW + safezoneX, (_posHeader + _textHigh + 1.5*(0.011 * safezoneH))];
       _ctrlText ctrlSetPosition [0.005 * safezoneW + safezoneX, (_posText + _textHigh + 1.5*(0.011 * safezoneH))];
       _ctrlHeader ctrlCommit 0.25;
       _ctrlText ctrlCommit 0.25;
       _posText = (_posText + _textHigh + 1.5*(0.011 * safezoneH));
       _posHeader = (_posHeader + _textHigh + 1.5*(0.011 * safezoneH));
       _textHigh = (ctrlPosition (_ctrlText)) select 3;
       if (_activeNotifications > 3) then {
       _ctrlText ctrlSetFade 1;
       _ctrlHeader ctrlSetFade 1;
       _ctrlText ctrlCommit 0.2;
       _ctrlHeader ctrlCommit 0.2;
       };
       _activeNotifications = _activeNotifications + 1;
       };
       } forEach life_open_notifications;
      };
      life_open_notifications = ([[_Header,_TextField]] + life_open_notifications) select {!isNull (_x select 0) && !isNull (_x select 1)}; // Add the Element to the Front of the Array and remove the deleted Arrays
      Alles anzeigen


      Version: 4.4R3 - Edited.

    • [5.0]Spyglass kickt ohne Grund!

      • PoweredByte
      • 11. Februar 2017 um 19:33

      Ich würde es einfach ausschalten.

      Kenne wenn ich ehrlich bin keinen einzigen, der SpyGlass benutzt.

    • [TUTORIAL] MrKraken's Tankstellenraub Script

      • PoweredByte
      • 10. Februar 2017 um 20:07

      Ok. dann lösch mal bitte wieder dein eintrag aus der RemoteExec.

      Und änder

      if(_cops < 1) exitWith{[_vault,-1] remoteExec ["disableSerialization;",2]; hint "There isnt enough Police to rob Gas Station!";};

      in das

      if(_cops < 1) exitWith{hint "There isnt enough Police to rob Gas Station!";};

    • [TUTORIAL] MrKraken's Tankstellenraub Script

      • PoweredByte
      • 10. Februar 2017 um 19:56

      Das ding ist halt, da steht:

      "Scripting function 'disableserialization;' is not allowed to be remotely executed"


      disableserialization--->> ; <<----


      Und das war höchwahrscheinlich der Fehler :).

      Klar auskommentieren geht auch

    • [TUTORIAL] MrKraken's Tankstellenraub Script

      • PoweredByte
      • 10. Februar 2017 um 19:54

      Probier einfach mal 1zu1 das was ich geschrieben hab ^^

    • [TUTORIAL] MrKraken's Tankstellenraub Script

      • PoweredByte
      • 10. Februar 2017 um 19:52

      Probier das mal unter Anyone ;)

      F(disableserialization;,ANYONE)

    • Spawne nackt (Medic, Cop, Civ)

      • PoweredByte
      • 10. Februar 2017 um 19:45

      Mach mal bitte ein Backup von deinem @life_server ordner.

      Dann suchst du die "life_server/Functions/MySQL/fn_mresArray.sqf"

      Und ersetzt alles mit dem hier:

      Code: mresToArray.sqf
      params[["_array","",[""]]];
      if (_array isEqualTo "") exitWith {[]};
      _array = toArray(_array);
      
      
      
      
      private _indexes = [];
      private _p = 0;
      
      
      
      
      for "_i" from 0 to (count _array)-1 do {
          _sel = _array select _i;
          if (_sel == 96) then
          {
              _array set[_i,39];
              if (!(_p isEqualTo 2) && {_array select (_i - 1) isEqualTo 39}) then {
                  _indexes pushBack _i;
                  _p = _p + 1;
              } else {
                  if (_p isEqualTo 2) then {_p = 0;};
              };
          };
      };
      
      
      
      
      if !(_indexes isEqualTo []) then {
          private _y = 0;
          {
              _array deleteAt (_x - _y);
              _y = _y + 1;
              false
          } count _indexes;
      };
      
      
      
      
      _array = toString(_array);
      _array = call compile format["%1", _array];
      _array;
      Alles anzeigen
    • ExtDB2 Problem, was auch sonst? :D

      • PoweredByte
      • 30. Januar 2017 um 11:57

      Außerdem wurden die Definer nicht geändert.

      Code
      The user specified as a definer ('root'@'%') does not exist
    • ExtDB2 Problem, was auch sonst? :D

      • PoweredByte
      • 29. Januar 2017 um 23:17

      Schick bitte mal deine description.ext aus der Altis_Life.Altis

    • Tanoa Life Server auf Linux

      • PoweredByte
      • 23. Januar 2017 um 17:43
      Zitat von Lucky1302

      Ok komisch aber der meinung bin nicht nur ich sondern auch andere Scripter und Server betreiber: @backfisch z.b. von ihm hab ich dass das man dies unterlassen soll seine Server auf einen Linux Betriebssystem zu spielen und damit hat er nicht unrecht :D


      Stimmt nicht, Linux hat viel mehr Potenzial als Windows...

      Das einzigste Problem ist das die leute zu Faul sind sich damit auseinanderzusetzen

    Registrieren oder Einloggen

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

    Registrieren

    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™