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: 18 Juli 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. SporeSee

    Beiträge von SporeSee

    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 25. Juni 2019 um 18:12

      Einmal die fn_initMedic.sqf und fn_initCop.sqf

      Bei beiden habe ich es eigentlich gemacht.

      fn_initMedic.sqf:

      Spoiler anzeigen

      #include "..\script_macros.hpp"

      /*

      File: fn_initMedic.sqf

      Author: Bryan "Tonic" Boardwine

      Description:

      Initializes the medic..

      */

      player addRating 99999999;

      waitUntil {!(isNull (findDisplay 46))};

      if ((FETCH_CONST(life_medicLevel)) < 1 && (FETCH_CONST(life_adminlevel) isEqualTo 0)) exitWith {

      ["Notwhitelisted",false,true] call BIS_fnc_endMission;

      sleep 35;

      };

      [] call life_fnc_spawnMenu;

      waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.

      waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.

      // Uniformen Texturen START

      [] spawn

      {

      while {true} do

      {

      waitUntil {uniform player == "U_Rangemaster"};

      player setObjectTextureGlobal [0,"textures\Emergency\Kleidung\Person\recrute_uniform_rettungsdienst.paa"];

      waitUntil {uniform player != "U_Rangemaster"};

      };

      };

      // Uniformen Texturen ENDE


      // Backpack Texturen Global START

      // Backpack Texture

      [] spawn

      {

      while {true} do

      {

      waitUntil {backpack player == "B_Kitbag_cbr"};

      (unitBackpack player) setObjectTextureGlobal [0,"textures\Emergency\Kleidung\Rucksack\emergency_rucksack.paa"];

      waitUntil {backpack player != "B_Kitbag_cbr"};

      };

      };

      [] spawn life_fnc_medicPlaceablesInit;

      fn_initCop.sqf :

      Spoiler anzeigen

      #include "..\script_macros.hpp"

      /*

      File: fn_initCop.sqf

      Author: Bryan "Tonic" Boardwine

      Description:

      Cop Initialization file.

      */

      player addRating 9999999;

      waitUntil {!(isNull (findDisplay 46))};

      if (life_blacklisted) exitWith {

      ["Blacklisted",false,true] call BIS_fnc_endMission;

      sleep 30;

      };

      if ((FETCH_CONST(life_copLevel)) < 1 && (FETCH_CONST(life_adminlevel) isEqualTo 0)) exitWith {

      ["Notwhitelisted",false,true] call BIS_fnc_endMission;

      sleep 35;

      };

      player setVariable ["rank",(FETCH_CONST(life_coplevel)),true];

      [] call life_fnc_spawnMenu;

      waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.

      waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.

      // Uniformen Texturen START

      [] spawn

      {

      while {true} do

      {

      waitUntil {uniform player == "U_B_CombatUniform_mcam_worn"};

      player setObjectTextureGlobal [0,"textures\Cop\Kleidung\cop_uniform_4.jpg"];

      waitUntil {uniform player != "U_B_CombatUniform_mcam_worn"};

      };

      };

      // Uniformen Texturen ENDE

      [] spawn life_fnc_placeablesInit;

    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 25. Juni 2019 um 16:56

      Hatte ich auch aber gleicher Fehler

      Siehe:

      Spoiler anzeigen

      #include "..\script_macros.hpp"

      /*

      File: configuration.sqf

      Author:

      Description:

      Master Life Configuration File

      This file is to setup variables for the client, there are still other configuration files in the system


      *****************************

      ****** Backend Variables *****

      *****************************

      */

      life_query_time = time;

      life_action_delay = time;

      life_trunk_vehicle = objNull;

      life_session_completed = false;

      life_garage_store = false;

      life_session_tries = 0;

      life_net_dropped = false;

      life_siren_active = false;

      life_clothing_filter = 0;

      life_clothing_uniform = -1;

      life_redgull_effect = time;

      life_is_processing = false;

      life_bail_paid = false;

      life_impound_inuse = false;

      life_action_inUse = false;

      life_spikestrip = objNull;

      life_knockout = false;

      life_interrupted = false;

      life_respawned = false;

      life_removeWanted = false;

      life_action_gathering = false;

      tawvd_addon_disable = true;

      life_god = false;

      life_frozen = false;

      life_save_gear = [];

      life_container_activeObj = objNull;

      life_disable_getIn = false;

      life_disable_getOut = false;

      life_admin_debug = false;

      life_preview_3D_vehicle_cam = objNull;

      life_preview_3D_vehicle_object = objNull;

      life_preview_light = objNull;

      life_pos_exist = false;

      life_pos_attach = [];

      life_civ_position = [];

      life_markers = false;

      life_canpay_bail = true;

      nn_last_vehicles = [];

      nn_empInUse = false;

      //Settings

      life_settings_enableNewsBroadcast = profileNamespace getVariable ["life_enableNewsBroadcast",true];

      life_settings_enableSidechannel = profileNamespace getVariable ["life_enableSidechannel",true];

      life_settings_tagson = profileNamespace getVariable ["life_settings_tagson",true];

      life_settings_revealObjects = profileNamespace getVariable ["life_settings_revealObjects",true];

      life_settings_viewDistanceFoot = profileNamespace getVariable ["life_viewDistanceFoot",1250];

      life_settings_viewDistanceCar = profileNamespace getVariable ["life_viewDistanceCar",1250];

      life_settings_viewDistanceAir = profileNamespace getVariable ["life_viewDistanceAir",1250];

      //Uniform price (0),Hat Price (1),Glasses Price (2),Vest Price (3),Backpack Price (4)

      life_clothing_purchase = [-1,-1,-1,-1,-1];

      /*

      *****************************

      ****** Weight Variables *****

      *****************************

      */

      life_maxWeight = LIFE_SETTINGS(getNumber,"total_maxWeight");

      life_carryWeight = 0; //Represents the players current inventory weight (MUST START AT 0).

      /*

      *****************************

      ****** Life Variables *******

      *****************************

      */

      life_net_dropped = false;

      life_use_atm = true;

      life_is_arrested = false;

      life_is_alive = false;

      life_delivery_in_progress = false;

      life_thirst = 100;

      life_hunger = 100;

      CASH = 0;

      life_istazed = false;

      life_isknocked = false;

      life_vehicles = [];

      /*

      Master Array of items?

      */

      //Setup variable inv vars.

      {

      missionNamespace setVariable [ITEM_VARNAME(configName _x),0];

      } forEach ("true" configClasses (missionConfigFile >> "VirtualItems"));

      /* Setup the BLAH! */

      {

      _varName = getText(_x >> "variable");

      _sideFlag = getText(_x >> "side");

      missionNamespace setVariable [LICENSE_VARNAME(_varName,_sideFlag),false];

      } forEach ("true" configClasses (missionConfigFile >> "Licenses"));

      /*

      **************************************

      ****** Placeables Variables *****

      **************************************

      */

      life_definePlaceables = //Array aller Absperrungen (Cop + Medic)

      [

      "RoadCone_F",

      "RoadCone_L_F",

      "RoadBarrier_F",

      "RoadBarrier_small_F",

      "PlasticBarrier_03_orange_F",

      "Land_CncBarrier_stripes_F",

      "Land_PortableLight_single_F",

      "Land_PortableLight_double_F"

      ];

      life_bar_limit = 30; //Maximale Anzahl Absperrungen pro Person


    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 25. Juni 2019 um 14:32

      Habe ich eingetragen von Anfang an

      Configuration.sqf:

      Spoiler anzeigen

      #include "..\script_macros.hpp"

      /*

      File: configuration.sqf

      Author:

      Description:

      Master Life Configuration File

      This file is to setup variables for the client, there are still other configuration files in the system


      *****************************

      ****** Backend Variables *****

      *****************************

      */

      life_query_time = time;

      life_action_delay = time;

      life_trunk_vehicle = objNull;

      life_session_completed = false;

      life_garage_store = false;

      life_session_tries = 0;

      life_net_dropped = false;

      life_siren_active = false;

      life_clothing_filter = 0;

      life_clothing_uniform = -1;

      life_redgull_effect = time;

      life_is_processing = false;

      life_bail_paid = false;

      life_impound_inuse = false;

      life_action_inUse = false;

      life_spikestrip = objNull;

      life_knockout = false;

      life_interrupted = false;

      life_respawned = false;

      life_removeWanted = false;

      life_action_gathering = false;

      tawvd_addon_disable = true;

      life_god = false;

      life_frozen = false;

      life_save_gear = [];

      life_container_activeObj = objNull;

      life_disable_getIn = false;

      life_disable_getOut = false;

      life_admin_debug = false;

      life_preview_3D_vehicle_cam = objNull;

      life_preview_3D_vehicle_object = objNull;

      life_preview_light = objNull;

      life_pos_exist = false;

      life_pos_attach = [];

      life_civ_position = [];

      life_markers = false;

      life_canpay_bail = true;

      nn_last_vehicles = [];

      nn_empInUse = false;

      //Settings

      life_settings_enableNewsBroadcast = profileNamespace getVariable ["life_enableNewsBroadcast",true];

      life_settings_enableSidechannel = profileNamespace getVariable ["life_enableSidechannel",true];

      life_settings_tagson = profileNamespace getVariable ["life_settings_tagson",true];

      life_settings_revealObjects = profileNamespace getVariable ["life_settings_revealObjects",true];

      life_settings_viewDistanceFoot = profileNamespace getVariable ["life_viewDistanceFoot",1250];

      life_settings_viewDistanceCar = profileNamespace getVariable ["life_viewDistanceCar",1250];

      life_settings_viewDistanceAir = profileNamespace getVariable ["life_viewDistanceAir",1250];

      //Uniform price (0),Hat Price (1),Glasses Price (2),Vest Price (3),Backpack Price (4)

      life_clothing_purchase = [-1,-1,-1,-1,-1];

      /*

      **************************************

      ****** Placeables Variables *****

      **************************************

      */

      life_definePlaceables = //Array aller Absperrungen (Cop + Medic)

      [

      "RoadCone_F",

      "RoadCone_L_F",

      "RoadBarrier_F",

      "RoadBarrier_small_F",

      "PlasticBarrier_03_orange_F",

      "Land_CncBarrier_stripes_F",

      "Land_PortableLight_single_F",

      "Land_PortableLight_double_F"

      ];

      life_bar_limit = 30; //Maximale Anzahl Absperrungen pro Person

      /*

      *****************************

      ****** Weight Variables *****

      *****************************

      */

      life_maxWeight = LIFE_SETTINGS(getNumber,"total_maxWeight");

      life_carryWeight = 0; //Represents the players current inventory weight (MUST START AT 0).

      /*

      *****************************

      ****** Life Variables *******

      *****************************

      */

      life_net_dropped = false;

      life_use_atm = true;

      life_is_arrested = false;

      life_is_alive = false;

      life_delivery_in_progress = false;

      life_thirst = 100;

      life_hunger = 100;

      CASH = 0;

      life_istazed = false;

      life_isknocked = false;

      life_vehicles = [];

      /*

      Master Array of items?

      */

      //Setup variable inv vars.

      {

      missionNamespace setVariable [ITEM_VARNAME(configName _x),0];

      } forEach ("true" configClasses (missionConfigFile >> "VirtualItems"));

      /* Setup the BLAH! */

      {

      _varName = getText(_x >> "variable");

      _sideFlag = getText(_x >> "side");

      missionNamespace setVariable [LICENSE_VARNAME(_varName,_sideFlag),false];

      } forEach ("true" configClasses (missionConfigFile >> "Licenses"));

    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 24. Juni 2019 um 19:36

      @blackfisch

    • Nicht definierte Variable

      • SporeSee
      • 24. Juni 2019 um 16:26

      Hab vielen dank, ja wie gesagt ich bin absolut überfragt.

    • Nicht definierte Variable

      • SporeSee
      • 24. Juni 2019 um 15:20

      einmal die .log

      Dateien

      Arma3_x64_2019-06-23_19-20-24.rpt 120,64 kB – 128 Downloads
    • Nicht definierte Variable

      • SporeSee
      • 23. Juni 2019 um 18:55

      Das habe ich ganz unten eingefügt in der configuration.sqf

      Meine Datei:

      Spoiler anzeigen

      #include "..\script_macros.hpp"

      /*

      File: configuration.sqf

      Author:

      Description:

      Master Life Configuration File

      This file is to setup variables for the client, there are still other configuration files in the system

      *****************************

      ****** Backend Variables *****

      *****************************

      */

      life_query_time = time;

      life_action_delay = time;

      life_trunk_vehicle = objNull;

      life_session_completed = false;

      life_garage_store = false;

      life_session_tries = 0;

      life_net_dropped = false;

      life_siren_active = false;

      life_clothing_filter = 0;

      life_clothing_uniform = -1;

      life_redgull_effect = time;

      life_is_processing = false;

      life_bail_paid = false;

      life_impound_inuse = false;

      life_action_inUse = false;

      life_spikestrip = objNull;

      life_knockout = false;

      life_interrupted = false;

      life_respawned = false;

      life_removeWanted = false;

      life_action_gathering = false;

      tawvd_addon_disable = true;

      life_god = false;

      life_frozen = false;

      life_save_gear = [];

      life_container_activeObj = objNull;

      life_disable_getIn = false;

      life_disable_getOut = false;

      life_admin_debug = false;

      life_preview_3D_vehicle_cam = objNull;

      life_preview_3D_vehicle_object = objNull;

      life_preview_light = objNull;

      life_pos_exist = false;

      life_pos_attach = [];

      life_civ_position = [];

      life_markers = false;

      life_canpay_bail = true;

      nn_last_vehicles = [];

      nn_empInUse = false;

      //Settings

      life_settings_enableNewsBroadcast = profileNamespace getVariable ["life_enableNewsBroadcast",true];

      life_settings_enableSidechannel = profileNamespace getVariable ["life_enableSidechannel",true];

      life_settings_tagson = profileNamespace getVariable ["life_settings_tagson",true];

      life_settings_revealObjects = profileNamespace getVariable ["life_settings_revealObjects",true];

      life_settings_viewDistanceFoot = profileNamespace getVariable ["life_viewDistanceFoot",1250];

      life_settings_viewDistanceCar = profileNamespace getVariable ["life_viewDistanceCar",1250];

      life_settings_viewDistanceAir = profileNamespace getVariable ["life_viewDistanceAir",1250];

      //Uniform price (0),Hat Price (1),Glasses Price (2),Vest Price (3),Backpack Price (4)

      life_clothing_purchase = [-1,-1,-1,-1,-1];

      /*

      *****************************

      ****** Weight Variables *****

      *****************************

      */

      life_maxWeight = LIFE_SETTINGS(getNumber,"total_maxWeight");

      life_carryWeight = 0; //Represents the players current inventory weight (MUST START AT 0).

      /*

      *****************************

      ****** Life Variables *******

      *****************************

      */

      life_net_dropped = false;

      life_use_atm = true;

      life_is_arrested = false;

      life_is_alive = false;

      life_delivery_in_progress = false;

      life_thirst = 100;

      life_hunger = 100;

      CASH = 0;

      life_istazed = false;

      life_isknocked = false;

      life_vehicles = [];

      /*

      Master Array of items?

      */

      //Setup variable inv vars.

      {

      missionNamespace setVariable [ITEM_VARNAME(configName _x),0];

      } forEach ("true" configClasses (missionConfigFile >> "VirtualItems"));

      /* Setup the BLAH! */

      {

      _varName = getText(_x >> "variable");

      _sideFlag = getText(_x >> "side");

      missionNamespace setVariable [LICENSE_VARNAME(_varName,_sideFlag),false];

      } forEach ("true" configClasses (missionConfigFile >> "Licenses"));

      /*

      **************************************

      ****** Placeables Variables *****

      **************************************

      */

      life_definePlaceables = //Array aller Absperrungen (Cop + Medic)

      [

      "RoadCone_F",

      "RoadCone_L_F",

      "RoadBarrier_F",

      "RoadBarrier_small_F",

      "PlasticBarrier_03_orange_F",

      "Land_CncBarrier_stripes_F",

      "Land_PortableLight_single_F",

      "Land_PortableLight_double_F"

      ];

      life_bar_limit = 100; //Maximale Anzahl Absperrungen pro Person

    • Nicht definierte Variable

      • SporeSee
      • 23. Juni 2019 um 17:06

      Hi Leute,

      Ich habe seit Freitag das Problem, dass ich mit dem Skript (Siehe Link) nicht weiter komme. In meinem Client log steht das:

      Spoiler anzeigen

      disableSerialization;

      if (count life_bar_placey >= life_bar_limit) exitW>

      11:32:26 Error position: <life_bar_placey >= life_bar_limit) exitW>

      11:32:26 Error Nicht definierte Variable in Ausdruck: life_bar_placey

      11:32:26 File core\functions\placeables\fn_placeablePlace.sqf [life_fnc_placeablePlace], line 10

      Ich habe auch im direkten beitag nach Hilfe gefragt aber ich denke das geht unter. Hätte jemand ein Tipp? Also das Fenster öffnet sich aber ist leer.

    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 21. Juni 2019 um 23:03

      Das gleiche habe ich auch bei der fn_placeablePlace.sqf

      Das sind immer bei Zeilen wo Nachrichten sind wie:
      if (life_barrier_active) exitWith {

      hint "Du kannst nur eine Absperrung tragen";

      closeDialog 0;

      };

      hat jemand ein Tipp was ich dort anpassen müsste, bisher habe ich sie nur ausgeklammert.

      Edit:

      Die Probleme werden nicht weniger..

      Spoiler anzeigen

      23:08:35 Error in expression <laceables) - 1, _className];

      } foreach (life_placeables);>

      23:08:35 Error position: <life_placeables);>

      23:08:35 Error Nicht definierte Variable in Ausdruck: life_placeables

      23:08:35 File core\functions\placeables\fn_placeablesMenu.sqf [life_fnc_placeablesMenu], line 24

      23:08:44 Loading movesType CfgMovesFishes_F

      23:08:44 Reading cached action map data

    • [TUTORIAL][Altis Life 4.0+] Cop/Medic Absperrungen per Menü

      • SporeSee
      • 21. Juni 2019 um 21:21

      Wenn ich das Menü öffne ist dies leer. In meiner Client.log steht das:

      Spoiler anzeigen

      21:16:51 Error in expression <u]"


      disableSerialization;

      if (count life_bar_placey >= life_bar_limit) exitW>

      21:24:03 Error position: <life_bar_placey >= life_bar_limit) exitW>

      21:24:03 Error Nicht definierte Variable in Ausdruck: life_bar_placey

      21:24:03 File core\functions\placeables\fn_placeablePlace.sqf [life_fnc_placeablePlace], line 10

      21:30:56 Ref to nonnetwork object 245ab112040# 1818107: offroad_01_unarmed_f.p3d

      21:31:03 Error in expression <laceables) - 1, _className];

      } foreach (life_placeables);>

      21:31:03 Error position: <life_placeables);>

      21:31:03 Error Nicht definierte Variable in Ausdruck: life_placeables

      21:31:03 File core\functions\placeables\fn_placeablesMenu.sqf [life_fnc_placeablesMenu], line 27

      21:31:18 Error in expression <laceables) - 1, _className];

      } foreach (life_placeables);>

      21:31:18 Error position: <life_placeables);>

      21:31:18 Error Nicht definierte Variable in Ausdruck: life_placeables

      21:31:18 File core\functions\placeables\fn_placeablesMenu.sqf [life_fnc_placeablesMenu], line 27

      21:31:26 Error in expression <laceables) - 1, _className];

      } foreach (life_placeables);>

      21:31:26 Error position: <life_placeables);>

      21:31:26 Error Nicht definierte Variable in Ausdruck: life_placeables

      21:31:26 File core\functions\placeables\fn_placeablesMenu.sqf [life_fnc_placeablesMenu], line 27

      21:31:37 Error in expression <laceables) - 1, _className];

      } foreach (life_placeables);>

      21:31:37 Error position: <life_placeables);>

      21:31:37 Error Nicht definierte Variable in Ausdruck: life_placeables

      21:31:37 File core\functions\placeables\fn_placeablesMenu.sqf [life_fnc_placeablesMenu], line 27

      Könnte jemand mir helfen?

    • [TUTORIAL] SOS Panic Button

      • SporeSee
      • 16. Juni 2019 um 16:59
      Zitat von Kuchenplatte

      Nein.

      Nimm 128x128 oder 64x64 und in .paa umwandeln.

      Vielen Dank. :)

    • [TUTORIAL] SOS Panic Button

      • SporeSee
      • 16. Juni 2019 um 16:52
      Zitat von Kuchenplatte

      zb

      Cool Danke. Muss ich dafür eine bestimmte Auflösung nehmen oder passt der Server es selber an?

    • [TUTORIAL] SOS Panic Button

      • SporeSee
      • 16. Juni 2019 um 16:22

      hat jemand eine Idee was man für ein icon verwenden könnte?

    • [TUTORIAL] EMP Script mit dem Heli Autos stoppen (Cops)

      • SporeSee
      • 14. Juni 2019 um 23:40

      Ich habe folgenden Fehler in der Remoteexec.log:
      #1 "life_fnc_vehiclewarned [C Civilian 01:1 (Maurizio Scancarello) REMOTE (civ_1)]"
      Und habe in der Remoteexec.txt das eingefügt:
      1 ""!="life_fnc_vehiclewarned"

      Es geht leider immer noch nicht. Woran liegt es?


      Edit:

      Hat sich erledigt und habe es gelöst. Sorry ^^

    • [TUTORIAL] Jail Time Altis Life 5.0

      • SporeSee
      • 14. Juni 2019 um 21:18

      Vielen Dank

    • [TUTORIAL] Jail Time Altis Life 5.0

      • SporeSee
      • 14. Juni 2019 um 19:59
      Zitat von TheFireRunner

      Hier mal alle Files:

      Code: fn_arrestDialog_Arrest.sqf
      #include "..\..\script_macros.hpp"
      /*
       Player clicked arrest/ok            [player, _time] call life_fnc_arrestAction;
      */
      if(playerSide != west) exitWith {};
      //Get minutes
      private _time = ctrlText 1400;
      if(! ([_time] call TON_fnc_isnumber)) exitWith {
       hint localize "STR_ATM_notnumeric";
      };
      _time = parseNumber _time; //requested number
      _time = round _time;
      if(_time < 1 || _time > 120) exitWith { hint "Die Zeit muss zwischen 1 und 120 Minuten sein!"; };
      titleText[format ["Du hast ihn für %1 Monate verhaftet!",_time],"PLAIN"];
      closeDialog 0;
      [cursorObject, _time] call life_fnc_arrestAction; // [player, 34] call life_fnc_arrestAction;
      [0,"STR_NOTF_Arrested_1",true, [cursorObject getVariable ["realname",name cursorObject], player getVariable ["realname", name player], _time]] remoteExecCall ["life_fnc_broadcast",0];
      Alles anzeigen
      Code: fn_arrestAction.sqf
      #include "..\..\script_macros.hpp"
      /*
       File: fn_arrestAction.sqf
       Author:
      
       Description:
       Arrests the targeted person.
      */
      private _unit = _this select 0;
      private _time = _this select 1;
      /*if (isNull _unit) exitWith {}; //Not valid
      if (isNil "_unit") exitWith {}; //Not Valid
      if (!(_unit isKindOf "Man")) exitWith {}; //Not a unit
      if (!isPlayer _unit) exitWith {}; //Not a human
      if (!(_unit getVariable "restrained")) exitWith {}; //He's not restrained.
      //if (!((side _unit) in [civilian,independent,east])) exitWith {}; Not a civ
      if (isNull _unit) exitWith {}; //Not valid*/
      
      detach _unit;
      [_unit,false,_time] remoteExecCall ["life_fnc_jail",_unit];
      [format ["Jail Log: Cop %1 hat %2 (%3) für %4 Minuten ins Gefängnis gesteckt",player getVariable ["realname",name player], _unit getVariable ["realname",name _unit], getPlayerUID _unit, _time]] remoteExec ["SOCK_fnc_diaLog",2];
      Alles anzeigen
      Code: fn_jail.sqf
      #include "..\..\script_macros.hpp"
      /*
       File: fn_jail.sqf
       Author: Bryan "Tonic" Boardwine
      
       Description:
       Starts the initial process of jailing.
      */
      private _unit = _this select 0;
      private _bad = _this select 1;
      private _time = _this select 2;
      
      if (life_is_arrested) exitWith {}; //Dafuq i'm already arrested
      private _illegalItems = LIFE_SETTINGS(getArray,"jail_seize_vItems");
      
      player setVariable ["restrained",false,true];
      player setVariable ["Escorting",false,true];
      player setVariable ["transporting",false,true];
      
      titleText[localize "STR_Jail_Warn","PLAIN"];
      player setPos (getMarkerPos "jail_marker");
      
      if (_bad) then {
       waitUntil {alive player};
       sleep 1;
      };
      
      //Check to make sure they goto check
      if (player distance (getMarkerPos "jail_marker") > 40) then {
       player setPos (getMarkerPos "jail_marker");
      };
      
      life_is_arrested = true;
      
      if (LIFE_SETTINGS(getNumber,"jail_seize_inventory") isEqualTo 1) then {
       [] spawn life_fnc_seizeClient;
      } else {
       removeAllWeapons player;
       {player removeMagazine _x} forEach (magazines player);
      };
      [player,_bad,_time] remoteExecCall ["life_fnc_jailSys",RSERV];
      [5] call SOCK_fnc_updatePartial;
      Alles anzeigen
      Code: fn_jailMe.sqf
      #include "..\..\script_macros.hpp"
      /*
       File: fn_jailMe.sqf
       Author Bryan "Tonic" Boardwine
      
       Description:
       Once word is received by the server the rest of the jail execution is completed.
      */
      private ["_time","_bail","_esc","_countDown"];
      
      params [
       ["_ret",[],[[]]],
       ["_bad",false,[false]],
       ["_time",15,[0]]
      ];
      
      _handle = [] spawn life_fnc_stripDownPlayer;
      waitUntil {scriptDone _handle};
      player forceAddUniform "U_C_WorkerCoveralls";
      [] call life_fnc_playerSkins;
      
      _time = time + (_time * 60);
      
      if (count _ret > 0) then { life_bail_amount = (_ret select 2); } else { life_bail_amount = 1500; };
      _esc = false;
      _bail = false;
      
      if(_time <= 0) then { _time = time + (15 * 60); hintC "Please Report to Admin: JAIL_FALLBACK_15, time is zero!"; };
      
      while {true} do {
       if((round(_time - time)) > 0) then {
       _countDown = if(round (_time - time) > 60) then {format["%1 Minuten",round(round(_time - time) / 60)]} else {format["%1 Sekunden",round(_time - time)]};
       hintSilent format["Verbleibende Zeit:\n %1\n",_countDown];
       };
       _remain = (round(_time - time));
       if ((_remain % 60) isEqualTo 0) then {
        player setVariable ["JailTime", (round(_remain / 60)) ];
       [5] call SOCK_fnc_updatePartial;
       };
       
       player forceWalk true;
      
       if (player distance (getMarkerPos "jail_marker") > 60) exitWith {
          _esc = true;
       };
      
       if ((round(_time - time)) < 1) exitWith {hint ""};
       if (!alive player && ((round(_time - time)) > 0)) exitWith {};
       sleep 0.1;
      };
      
      switch (true) do {
       case (_bail): {
       life_is_arrested = false;
       life_bail_paid = false;
      
       hint localize "STR_Jail_Paid";
       serv_wanted_remove = [player];
       player setPos (getMarkerPos "jail_release");
       player setVariable ["JailTime",0];
      
       if (life_HC_isActive) then {
       [getPlayerUID player] remoteExecCall ["HC_fnc_wantedRemove",HC_Life];
       } else {
       [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
       };
      
       [5] call SOCK_fnc_updatePartial;
       };
      
       case (_esc): {
       life_is_arrested = false;
       hint localize "STR_Jail_EscapeSelf";
       [format ["Jail Log: %1 (%2) ist aus dem Gefängnis ausgebrochen",player getVariable ["realname",name player], getPlayerUID player]] remoteExec ["SOCK_fnc_diaLog",2];
       
       [0,"STR_Jail_EscapeNOTF",true,[profileName]] remoteExecCall ["life_fnc_broadcast",west];
       player setVariable ["JailTime",0];
       if (life_HC_isActive) then {
       [getPlayerUID player,profileName,"901"] remoteExecCall ["HC_fnc_wantedAdd",HC_Life];
       } else {
       [getPlayerUID player,profileName,"901"] remoteExecCall ["life_fnc_wantedAdd",RSERV];
       };
       
       [5] call SOCK_fnc_updatePartial;
       };
      
       case (alive player && !_esc && !_bail): {
       life_is_arrested = false;
       hint localize "STR_Jail_Released";
       [format ["Jail Log: %1 (%2) wurde aus dem Gefängnis entlassen",player getVariable ["realname",name player], getPlayerUID player]] remoteExec ["SOCK_fnc_diaLog",2];
      
       if (life_HC_isActive) then {
       [getPlayerUID player] remoteExecCall ["HC_fnc_wantedRemove",HC_Life];
       } else {
       [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV];
       };
      
       player setPos (getMarkerPos "jail_release");
       [5] call SOCK_fnc_updatePartial;
       };
      };
      
      player forceWalk false; // Enable running & jumping
      Alles anzeigen
      Code: fn_jailSys.sqf
      #include "\life_server\script_macros.hpp"
      /*
       File: fn_jailSys.sqf
       Author: Bryan "Tonic" Boardwine
      
       Description:
       I forget?
      */
      
      private["_unit","_bad","_id","_ret","_time"];
      _unit = _this select 0;
      _bad = _this select 1;
      _time = _this select 2;
      
      if(_bad) then {//Load time from database
       _query = format["SELECT jail_time FROM players WHERE playerid='%2'", _time, getPlayerUID _unit];
       _result = [_query,2] call DB_fnc_asyncCall;
       _result = (_result select 0);
       _time = _result;
      } else {
       _query = format["UPDATE players SET jail_time='%1' WHERE playerid='%2'", _time, getPlayerUID _unit];
       _result = [_query,1] call DB_fnc_asyncCall;
      };
      _id = owner _unit;
      _ret = [_unit] call life_fnc_wantedPerson;
      [_ret,_bad,_time] remoteExec ["life_fnc_jailMe",_id];
      Alles anzeigen
      Code: fn_JailPlayer.sqf
      #include "\life_server\script_macros.hpp"
      /*
       Sets jail values for player
      */
      private["_player", "_playeruid", "_query", "_time"];
      _player = _this select 0;
      _playeruid = _this select 1;
      _time = _this select 2;
      _time = ceil _time; //to be sure
      _player = owner _player;
      _query = format["UPDATE players SET arrested='1', jail_time='%1' WHERE playerid='%2'", _time, _playeruid];
      [_query,1] call DB_fnc_asyncCall;
      Alles anzeigen

      Ich habe das genauso gemacht , es werden aber Personen gekickt wenn sie aus dem Gefängnis freigelassen werden (Gefängniszeit vorbei). In der remoteexec.log steht das:
      "#1 "sock_fnc_dialog ["Jail Log: Maurizio Scancarello (765442323322361198127248827) wurde aus dem Gefängnis entlassen"]" (ID wurde per Hand verändert)

      Dann habe ich in der remoteexec.txt. das eingefügt:
      1 "" !="sock_fnc_dialog"

      Lieder konnte ich diesen Fehler nicht beheben. Könnte mir jemand helfen?

    • Sperrzonensystem 2.1

      • SporeSee
      • 9. Juni 2019 um 20:23

      Vielen Dank. Ich habe das in die falsche Class eingetragen... ^^

    • Sperrzonensystem 2.1

      • SporeSee
      • 9. Juni 2019 um 19:21

      Ich habe alles hoffentlich richtig gemacht. Ich kann auch die Sperrzonen erstellen aber es kommt keine Nachricht oben rechts.

      Kriege in der .rpt diesen Fehler:
      Scripting function 'stig_sz_msg_add' is not allowed to be remotely executed

    • BattlEye: SetVariable Restriction #1

      • SporeSee
      • 9. Juni 2019 um 13:45

      Ich musste bei den BattlEye Filter noch die zweite Sirene eintragen und ich hatte nicht überall Sirene2 zustehen sondern Sirene und somit kam es zu diesem Fehler. Teilweise kann ich es mir nicht erklären aber ja ^^.

    • BattlEye: SetVariable Restriction #1

      • SporeSee
      • 9. Juni 2019 um 00:30

      Problem wurde behoben.

      ~ Closed

    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™