bitte kein problem
Beiträge von Oxygen
-
-
das rsclayer muss auch aus der text zeile raus
-
Schaut schon nicht schlecht aus, würde aber nicht remoteExecCall verwenden und du hast am Anfang eine eckige Klammer zuviel und das -2 gehört da nicht hin
Außerdem musst du TON_fnc_generateAirdrop noch in der CfgRemoteExec.hpp eintragen, dort wo die Server funtkionen, die von SPielern aufgerufen werden dürfen eingetragen sind
.
LgBester man läuft jetzt wieder wunderbar danke dir
Nur ein fehler habe ich noch er wirft die Kiste nicht mehr ab -.-
hier mal der Code
Code
Alles anzeigenwhile { _dest distance heli1 > 250 } do { "airbox_marker" setMarkerPos getPos heli1; sleep 1; }; [5,"Waffenkiste abgeworfen! Selbstzerstörung der Kiste in 20 Minuten!</t>"] remoteExec ["life_fnc_broadcast",-2]; // Drop the container deleteVehicle _containerdummy; sleep 0.1; _container = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _para = createVehicle ["O_Parachute_02_F", [getPos heli1 select 0, getPos heli1 select 1, getPos heli1 select 2], [], 0, ""]; _para setPosATL (heli1 modelToWorld[0,0,100]); _para attachTo [heli1,[0,0,-10]]; detach _para; _container attachTo [_para,[0,0,-2]]; _container setDir 90; playSound3D ["a3\sounds_f\weapons\Flare_Gun\flaregun_1_shoot.wss", _container]; _smoke="SmokeShellGreen" createVehicle [getpos _container select 0, getpos _container select 1,0]; _smoke attachTo [_container,[0,0,0]]; _light = "Chemlight_green" createVehicle getPos _container; _light attachTo [_container,[0,0,0]]; _flare = "F_40mm_Green" createVehicle getPos _container; _flare attachTo [_container,[0,0,0]]; sleep 0.1; while { (getPos _container select 2) > 2 } do { "airbox_marker" setMarkerPos getPos _container;sleep 1; }; detach _container; _container setPos [getPos _container select 0, getPos _container select 1, (getPos _container select 2)+0.5]; playSound3D ["A3\Sounds_F\sfx\alarm_independent.wss", _container]; sleep 6; "M_NLAW_AT_F" createVehicle [getPos _container select 0, getPos _container select 1, 0]; _pos_container = getPos _container; deleteVehicle _container; sleep 0.5; _box = createVehicle ["CargoNet_01_box_F", _pos_container, [], 0, "CAN_COLLIDE"]; _box allowDamage false; _smoke="SmokeShellGreen" createVehicle [getpos _box select 0,getpos _box select 1,0]; _flare = "F_40mm_Green" createVehicle getPos _container; _light attachTo [_box,[0,0,0]]; _flare attachTo [_box,[0,0,0]];
-
für alle die probs mit dem neuladen nach tod oder so haben hier eine simple lösung^^
in der fn_hudUpdate.sqf das hier ganz unten eintragen:
funktioniert natürlich nur wenn ihr folgendes abgeändert habt
ändern in:
-
Code
Alles anzeigensoo sieht der original code ja aus: [[5,"Zeit bis Eintreffen des Huron ca. 5 Minuten!"],"life_fnc_broadcast",true,false] spawn life_fnc_MP; hier mein versuch: [[-2,"Zeit bis Eintreffen des Huron ca. 5 Minuten!"] remoteExecCall ["life_fnc_broadcast",RCLIENT];
oder bin ich da jetzt total falsch xd
vill hast du ja auch ne idee für seinen call airdop funktion
-
scheinbar gibt es ein probem mit dem nachrichten system vill weiß jemand was zu tun ist
Spoiler anzeigen
Code
Alles anzeigen2016/05/29, 3:11:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; _poses = count airdrop_posi> 2016/05/29, 3:11:48 Error position: <life_fnc_MP; _poses = count airdrop_posi> 2016/05/29, 3:11:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:11:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 23 2016/05/29, 3:16:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 300; [[5,"<t size='> 2016/05/29, 3:16:48 Error position: <life_fnc_MP; sleep 300; [[5,"<t size='> 2016/05/29, 3:16:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:16:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 39 2016/05/29, 3:21:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:21:48 Error position: <life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:21:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:21:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 43 2016/05/29, 3:22:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:22:48 Error position: <life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:22:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:22:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 47 2016/05/29, 3:23:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:23:48 Error position: <life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:23:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:23:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 51 2016/05/29, 3:24:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:24:48 Error position: <life_fnc_MP; sleep 60; [[5,"<t size='1> 2016/05/29, 3:24:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:24:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 55 2016/05/29, 3:25:48 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; heli1 = CreateVehicle [air> 2016/05/29, 3:25:48 Error position: <life_fnc_MP; heli1 = CreateVehicle [air> 2016/05/29, 3:25:48 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:25:48 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 59 2016/05/29, 3:27:55 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; deleteVehicle _container> 2016/05/29, 3:27:55 Error position: <life_fnc_MP; deleteVehicle _container> 2016/05/29, 3:27:55 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:27:55 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 95 2016/05/29, 3:27:55 Error: Bone sphere63 doesn't exist in skeleton Parachute_02 2016/05/29, 3:27:55 Error: Bone sphere62 doesn't exist in skeleton Parachute_02 2016/05/29, 3:27:55 Error: Bone sphere63 doesn't exist in skeleton Parachute_02 2016/05/29, 3:27:55 Error: Bone sphere62 doesn't exist in skeleton Parachute_02 2016/05/29, 3:43:17 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 240; [[5,"<t size='1.> 2016/05/29, 3:43:17 Error position: <life_fnc_MP; sleep 240; [[5,"<t size='1.> 2016/05/29, 3:43:17 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:43:17 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 255 2016/05/29, 3:47:17 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 50; [[5,"<t size='1.5> 2016/05/29, 3:47:17 Error position: <life_fnc_MP; sleep 50; [[5,"<t size='1.5> 2016/05/29, 3:47:17 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:47:17 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 257 2016/05/29, 3:48:07 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; sleep 10; [[5,"<t size='1.5> 2016/05/29, 3:48:07 Error position: <life_fnc_MP; sleep 10; [[5,"<t size='1.5> 2016/05/29, 3:48:07 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:48:07 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 259 2016/05/29, 3:48:17 Error in expression <,"life_fnc_broadcast",true,false] spawn life_fnc_MP; deleteVehicle _box; _bmb => 2016/05/29, 3:48:17 Error position: <life_fnc_MP; deleteVehicle _box; _bmb => 2016/05/29, 3:48:17 Error Undefined variable in expression: life_fnc_mp 2016/05/29, 3:48:17 File life_server\Functions\airdrop\fn_generateAirdropAuto.sqf, line 261
-
Moin bis zur 4.4 läuft das script wenn man es so einfügt wie hier beschrieben ohne probleme
nur in der 4.4r2 habe ich das problem das der airdrop einfach nicht startet egal ob automatisch oder sebst gerufen
vill hat es ja schon jemand geschaft in der 4.4r2 dann lönnte der sich ja bei mir mal melden
wenn jemand bei älteren versionen hilfe brauchteinfach bescheid sagenPS. leider wird mir im rpt nichts angezeigt
-
moin habe hier mit der script.txt ein problem und ka wie ich die dinger darin einfügen soll
hier die fails weshalb ich kick bekomme: #5 "Helper","BIS_fnc_reviveRemoveHelper","BIS_fnc_reviveHandleForceRespawnAction","BIS_fnc_reviveHandleIncapUnitDetection","BIS_fnc_"
Spoiler anzeigen
Code: script.txt
Alles anzeigen//new2 1 "" !="this allowDamage false;" !="this enableSimulation false;" !"this addAction[localize\"STR_" !"this addAction[format[\"%1 ($%2)\",localize" 5 addAction !"this addAction[localize\"STR_" !"this addAction[localize \"STR_" !"this addAction[format[\"%1 ($%2)\",localize (getText(missionConfigFile >>" !"this addAction[\"<t color='#ADFF2F'>ATM</t>\",life_fnc_atmMenu,\"\",0,FALSE,FALSE" !"this addAction [\"Capture Gang Area\",life_fnc_captureHideout,\"\",0,false,false,\"\",' playerSide == civilian" !="(playerSide) do {\ncase civilian: {\n\nlife_actions = [player addAction[localize \"STR_pAct_DropFishingNet\",life_fnc_dropFishingNet," !="player addAction[localize \"STR_" //5 "addAction" !"this addAction[\"Market\",life_fnc_virt_menu" !"this addAction[\"Car Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Deliver Package\",life_fnc_dpFinish" !"this addAction[\"Rebel Market\",life_fnc_virt_menu" !"this addAction[format[\"%1 ($%2)\",[\"license_civ_driver\"]" !"this addAction[\"Process Oil\",life_fnc_processAction" !"this addAction[\"Process Iron\",life_fnc_processAction" !"this addAction[\"Drug Dealer\",life_fnc_virt_menu" !"this addAction[\"Get Delivery Mission\",life_fnc_getDPMission" !"this addAction[\"Truck Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Process Marijuana\",life_fnc_processAction" !"this addAction[\"Helicopter Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Service Helicopter\",life_fnc_serviceChopper" !"this addAction[\"Clothing Store\",life_fnc_clothingMenu" !"this addAction[\"Fish Market\",life_fnc_virt_menu" !"this addAction[\"Medical Assistance\",life_fnc_healHospital" !"this addAction[\"Boat Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"General Store\",life_fnc_weaponShopMenu" !"this addAction[\"Diving Shop\",life_fnc_clothingMenu" !"this addAction[\"Vehicle Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Cop Item Shop\",life_fnc_virt_menu" !"this addAction[\"Oil Trader\",life_fnc_virt_menu" !"this addAction[\"Process Diamond\",life_fnc_processAction" !"this addAction[\"Glass Trader\",life_fnc_virt_menu" !"this addAction[\"Iron / Copper Trader\",life_fnc_virt_menu" !"this addAction[\"Process Copper\",life_fnc_processAction" !"this addAction[\"Diamond Trader\",life_fnc_virt_menu" !"this addAction[\"Salt Trader\",life_fnc_virt_menu" !"this addAction[\"Process Sand\",life_fnc_processAction" !"this addAction[\"Process Salt\",life_fnc_processAction" !"this addAction[\"Gun Store\",life_fnc_weaponShopMenu" !"this addAction[\"Process Heroin\",life_fnc_processAction" !"this addAction[\"Vehicle Garage\", { [[getPlayerUID player,playerSide" !"this addAction[\"Process Cocaine\",life_fnc_processAction" !"this addAction[\"Cement Trader\",life_fnc_virt_menu" !"this addAction[\"Process Rock\",life_fnc_processAction" !"this addAction[\"Wong's Food Cart\",life_fnc_virt_menu" !"this addAction[\"Chop Shop\",life_fnc_chopShopMenu" !"this addAction[format[\"%1 ($%2)\",[\"license_med_air\"]" !"this addAction[\"Pay Bail\",life_fnc_postBail" !"this addAction[\"Go-kart Shop\",life_fnc_vehicleShopMenu" !"this addAction[\"Gold Buyer\",life_fnc_virt_menu" !"this addAction[\"Open Vault\",life_fnc_safeOpen" !"this addAction[\"<t color='#ADFF2F'>ATM</t>\",life_fnc_atmMenu" !"this addAction[\"Federal Reserve - Front Entrance\",life_fnc_fedCamDisplay" !"this addAction[\"Armament\",life_fnc_weaponShopMenu" !"this addAction [\"Capture Gang Area\",life_fnc_captureHideout" !"this addAction[\"Gang Market\",life_fnc_virt_menu" !"player addAction[localize \"STR_pAct_DropFishingNet\",life_fnc_dropFishingNet" !"player addAction[localize \"STR_pAct_RobPerson\",life_fnc_robAction" !"this addAction[localize\"STR_Shops_Market\",life_fnc_virt_menu,\"market\"];" !"this addAction[localize \"STR_MAR_Car_shop\",life_fnc_vehicleShopMenu,[\"" !"this addAction[localize\"STR_MAR_Deliver_Package\",life_fnc_dpFinish,\"dp_" !"this addAction[format[\"%1 ($%2)\",localize (getText(missionConfigFile >> \"Li" 5 "createDialog" !="createDialog \"life_cop_placeables"\"" !="createDialog \"life_ticket_give\"" !="createDialog \"shop_menu\"" !="createDialog \"pInteraction_Menu\"" !="createDialog \"life_ticket_pay\"" !="createDialog \"Life_My_Gang_Diag\"" !="createDialog \"DeathScreen\"" !="createDialog \"playerSettings\"" !="createDialog \"SettingsMenu\"" !="createDialog \"life_wanted_menu\"" !="createDialog \"Life_atm_management\"" !="createDialog \"Chop_Shop\"" !="createDialog \"Life_Clothing\"" !="createDialog \"Life_impound_menu\"" !="createDialog \"Life_Vehicle_Shop_v2\"" !="createDialog \"shops_menu\"" !="createDialog \"TrunkMenu\"" !="createDialog \"vInteraction_Menu\"" !="createDialog \"Federal_Safe\"" !="createDialog \"life_spawn_selection\"" !"Life_Create_Gang_Diag\"" !="createDialog \"Life_key_management\"" !="createDialog \"Life_cell_phone\"" !="createDialog \"life_admin_menu\"" !="createDialog \"\"Life_Create_Gang_Diag\"\"" !="createDialog \"life_weapon_shop\"" !="createDialog \"Life_Admin_Compensate\";" !="closeDialog 0; hint \"You have no business using this\";};\n\ncreateDialog \"RscDisplayDebugPublic\";\n[0,format[\"Admin %1 has opened t" // !="ion\n};\n_parent createdisplay \"RscDisplayCamera\";\n} else {\ncreatedialog \"RscDisplayCamera\"\n};\n};\n\ndisableserialization;\n_mode = [" //Splendid Camera // !=".sqf\"\n\n\n\n\nGUI_version = 1.063;\nstartloadingscreen [\"\"];\n\n\ncreatedialog \"RscGUIEditor\";waituntil {!isnil { (uinamespace getvaria" //Enter GUI Editor // !="inamespace getvariable \"BIS_RscGUIEditor_exit\")) then {\n\n\ncreatedialog \"RscGUIEditor\";\nGUI_listKeys = [];\nwaituntil {!isnil { (u" //Exit GUI Editr 5 "ctrlCreate" !=">> \"RscDisplayDebriefing_ListGroup\";\n_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\", 21903 ];\n\n_ListGroup c" 5 "ctrlDelete" !="};\n};\n\n\n\n\n\n\n_ListGroup = _display displayctrl 21903 ;\n\n\n\nctrlDelete _ListGroup;\n_listGroupCfg = configfile >> \"RscDisplayDebri" 5 "forceRespawn" !="];\nplayer hideobject true;\nplayer enablesimulation false;\nforcerespawn player;\n} else {\n_isDeath = false;\n};\n};\nif (_respawnOnSt" //1 "teleport" //5 "cursorTarget setPos" //5 "Wookie" //5 "W_O_O_K_I_E" //5 "J_M_E_" //5 "aNUScODERZ" //5 "Jesus" //5 "JJJJ_" //5 "RscDisplayDebugPublic" //5 "ThirtySix" //5 "root_" //5 "E5P" //5 "ĴmĘ"
-
Moin jeder kennt es jeden nervt es die VOTE funktion in arma 3
jeder kennt die einfachste Methode
in der server.cfg einfach voteThreshold = 2
allerdings musste ich feststellen das selbst dann manchmal die leute einen Admin oder Kick wählen konnten.
nun ich habe die Bohemia seiten zu Arma 3 durchforstet und bin auf das gestoßen
CodeallowedVoteCmds[] = { {"admin", false, false, 0.5}, {"missions", false, "false", "0.5"}, {"mission", false, false}, {"kick", false, false, 0.75}, {"restart", false, false, -1}, {"reassign", false, false, 0.5} };
tragt das in eure server.cfg ein und jeder auf dem Server kann den anderen nurnoch Stum schalten!
Hier meine server.cfg
Spoiler anzeigen
Code: server.cfg
Alles anzeigen// GLOBAL SETTINGS hostname = "Altis Life RP Server"; password = ""; passwordAdmin = "beispiel"; //reportingIP = "arma3pc.master.gamespy.com"; logFile = "server_console.log"; // WELCOME MESSAGE motd[] = { "", "Willkommen auf Altis", "" }; // Time interval motdInterval = 10; // JOINING RULES maxPlayers = 40; kickDuplicate = 1; verifySignatures = 1; equalModRequired = 0; // VOTING voteMissionPlayers = 1; voteThreshold = 0.33; //Vote disable allowedVoteCmds[] = { {"admin", false, false, 0.5}, {"missions", false, "false", "0.5"}, {"mission", false, false}, {"kick", false, false, 0.75}, {"restart", false, false, -1}, {"reassign", false, false, 0.5} }; // INGAME SETTINGS disableVoN = 0; vonCodecQuality = 5; persistent = 1; regularcheck=""; // MISSIONS CYCLE class Missions { class ARMA3 { template = Altis_Life.Altis; difficulty = "Regular"; }; };
bei Verbesserungsvorschlägen einfach bescheid geben oder bei Missverständnissen melden
-
Moin habe hier mal eine restart.bat mit der ich aber noch nicht soganz zufrieden bin server und bec starten zwar aber vill hat ja jemand noch modifizierungsvorschläge
Code
Alles anzeigen[/color]@echo off :: Modify your folders etc! :: Parameter und Ordner hier ändern set armapath="C:\Arma3\A3Master\" set armaparams="C:\Arma3\A3Master\" set becpath="C:\Arma3\A3Master\Bec" set serverexe=arma3server.exe echo. echo KILL arma3server.exe cd /d %armapath% taskkill /im arma3server.exe echo. echo KILL Bec.exe cd /d %becpath% taskkill /im bec.exe echo. echo. echo Restarting :: start the servers.. cd /d %armapath% start ""/REALTIME "arma3server.exe" -autoInit -malloc=tbbmalloc -port=2302 -enableHT -maxmem=3071 -mod=@extDB2;@life_server;@Distrikt41; -config=config\server.cfg -cfg=basic.cfg "-profiles=C:\Arma3\A3Master\Users" -bepath=C:\Arma3\A3Master\battleye echo. echo Starting Bec timeout 15 :: start bec cd /d %becpath% start "" /min "Bec.exe" -f Config.cfg timeout 12 echo. echo Alle Server wurden gestartet cls @exit[color=#000000]
-
Moin,
Ich habe noch ein altes script aus der 3.1.4.8 habe versucht es auf 4.4 umzustellen aber bisher ohne erfolg vill kann ja wer helfen
Hier mal die daten dazu
fn_keyHandler.sqf
Spoiler anzeigen
Code
Alles anzeigen//Restraining (Shift + R) case 19: { if(_shift) then {_handled = true;}; if(_shift && playerSide == west && {!isNull cursorTarget} && {cursorTarget isKindOf "Man"} && {(isPlayer cursorTarget)} && {(side cursorTarget in [civilian,independent])} && {alive cursorTarget} && {cursorTarget distance player < 3.5} && {!(cursorTarget GVAR "Escorting")} && {!(cursorTarget GVAR "restrained")} && {speed cursorTarget < 1}) then { [] call life_fnc_restrainAction; [player,"uncuff"] call life_fnc_globalSound; } else { if !(license_civ_rebel) exitWith { hint "Du musst zuerst das Rebellentraining absolvieren um jemanden zu fesseln!"}; if(_shift && playerSide == civilian && {!isNull cursorTarget} && {cursorTarget isKindOf "Man"} && {(currentWeapon player == primaryWeapon player OR currentWeapon player == handgunWeapon player)} && {currentWeapon player != ""} && {(isPlayer cursorTarget)} && {alive cursorTarget} && {cursorTarget distance player < 3.5} && {animationState cursorTarget == "Incapacitated"} && {!(cursorTarget GVAR "Escorting")} && {!(cursorTarget GVAR "restrained")} && {speed cursorTarget < 1}) then { if([false,"zipties",2] call life_fnc_handleInv) then { [] call life_fnc_restrainAction; [player,"uncuff"] call life_fnc_globalSound; hint "Benutze die Action, um weitere Aktionen anzuzeigen"; } else { hint "Du hast keine Kabelbinder dabei!"; }; }; }; };
fn_restrainAction
Spoiler anzeigen
Code
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_restrainAction.sqf Author: Bryan "Tonic" Boardwine Description: Retrains the target. */ private["_unit"]; _unit = cursorTarget; if(isNull _unit) exitWith {}; //Not valid if((player distance _unit > 3)) exitWith {}; if((_unit GVAR "restrained")) exitWith {}; if(side _unit == west) exitWith {}; if(player == _unit) exitWith {}; if (side player == civilian) then { if(license_civ_rebel && playerSide == civilian) exitWith { hint "Du benötigst das Rebellen training um jemanden zu fesseln"; }; if(life_inv_zipties < 2) exitWith { hint "Du hast keine Kabelbinder."; }; life_inv_zipties = life_inv_zipties - 2; hint "Sie entfuehren einen Zivilisten"; }; if(!isPlayer _unit) exitWith {};
die kabelbinder bzw zipties müssen natürlich in den jeweiligen fails ertsellt werden ^^.
Damals unter der 3.1.4.8 hatte das ohne probleme geklapt nur in der 4.4 bekomme ich es nicht zum laufen vill kann wer helfen.
Die scripts sind schon so wie sie da stehen versucht auf die 4.4 angepasst zu werden aber ging leider fail
wenn der wunsch besteht kann ich die files der 3.1.4.8 auch noch nachposten. -
was meinst du ???
-
moin wie kann ich aus this addaction ["Join Paintball","core\paintball\pb_join.sqf"];
ein onButtonClick machen bzw wie müsste der code aussehen -
bombe danke funst
-
Ja moin ich habe grade mal eine vanilla 4.0 aufgesetzt die hier aus dem forum
allerdings habe ich da ein problem gefunden wenn man im Knast ist kann man
die ablaufende zeit nicht sehen jemand ne ahnung `???
ob man nach den 15 min Knast zeit freigelassen wird teste ich grade/Edit nach ablauf der knast zeit bleibt man leider im knast
Code: fn_jailMe.sqf
Alles anzeigen#include <macro.h> /* Author Bryan "Tonic" Boardwine Description: Once word is received by the server the rest of the jail execution is completed. */ private["_ret","_bad","_time","_bail","_esc","_countDown"]; _ret = [_this,0,[],[[]]] call BIS_fnc_param; _bad = [_this,1,false,[false]] call BIS_fnc_param; if(_bad) then { _time = time + 1100; } else { _time = time + (15 * 60); }; if(count _ret > 0) then { life_bail_amount = SEL(_ret,3); } else { life_bail_amount = 1500; _time = time + (10 * 60); }; _esc = false; _bail = false; [_bad] spawn { life_canpay_bail = false; if(_this select 0) then { sleep (10 * 60); } else { sleep (5 * 60); }; life_canpay_bail = nil; }; while {true} do { if((round(_time - time)) > 0) then { _countDown = [(_time - time),"MM:SS.MS"] call BIS_fnc_secondsToString; hintSilent parseText format[(localize "STR_Jail_Time")+ "<br/> <t size='2'><t color='#FF0000'>%1</t></t><br/><br/>" +(localize "STR_Jail_Pay")+ " %3<br/>" +(localize "STR_Jail_Price")+ " $%2",_countDown,[life_bail_amount] call life_fnc_numberText,if(isNil "life_canpay_bail") then {"Yes"} else {"No"}]; }; if(player distance (getMarkerPos "jail_marker") > 60) exitWith { _esc = true; }; if(life_bail_paid) exitWith { _bail = 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"); [[getPlayerUID player],"life_fnc_wantedRemove",false,false] call life_fnc_MP; [5] call SOCK_fnc_updatePartial; }; case (_esc): { life_is_arrested = false; hint localize "STR_Jail_EscapeSelf"; [[0,"STR_Jail_EscapeNOTF",true,[profileName]],"life_fnc_broadcast",nil,false] call life_fnc_MP; [[getPlayerUID player,profileName,"901"],"life_fnc_wantedAdd",false,false] call life_fnc_MP; [5] call SOCK_fnc_updatePartial; }; case (alive player && !_esc && !_bail): { life_is_arrested = false; hint localize "STR_Jail_Released"; [[getPlayerUID player],"life_fnc_wantedRemove",false,false] call life_fnc_MP; player setPos (getMarkerPos "jail_release"); [5] call SOCK_fnc_updatePartial; }; };
Code: fn_jail.sqf
Alles anzeigen#include <macro.h> /* File: fn_jail.sqf Author: Bryan "Tonic" Boardwine Description: Starts the initial process of jailing. */ private["_bad","_unit"]; _unit = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param; hint format["%1", _unit]; if(isNull _unit) exitWith {}; //Dafuq? if(_unit != player) exitWith {}; //Dafuq? if(life_is_arrested) exitWith {}; //Dafuq i'm already arrested _bad = [_this,1,false,[false]] call BIS_fnc_param; player SVAR ["restrained",false,true]; player SVAR ["Escorting",false,true]; player SVAR ["transporting",false,true]; titleText[localize "STR_Jail_Warn","PLAIN"]; hint localize "STR_Jail_LicenseNOTF"; 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"); }; [1] call life_fnc_removeLicenses; if(life_inv_heroinu > 0) then {[false,"heroinu",life_inv_heroinu] call life_fnc_handleInv;}; if(life_inv_heroinp > 0) then {[false,"heroinp",life_inv_heroinp] call life_fnc_handleInv;}; if(life_inv_coke > 0) then {[false,"cocaine",life_inv_coke] call life_fnc_handleInv;}; if(life_inv_cokep > 0) then {[false,"cocainep",life_inv_cokep] call life_fnc_handleInv;}; if(life_inv_turtle > 0) then {[false,"turtle",life_inv_turtle] call life_fnc_handleInv;}; if(life_inv_cannabis > 0) then {[false,"cannabis",life_inv_cannabis] call life_fnc_handleInv;}; if(life_inv_marijuana > 0) then {[false,"marijuana",life_inv_marijuana] call life_fnc_handleInv;}; life_is_arrested = true; removeAllWeapons player; {player removeMagazine _x} foreach (magazines player); [[player,_bad],"life_fnc_jailSys",false,false] call life_fnc_MP; [5] call SOCK_fnc_updatePartial;
-
Moin ich wollte grade BEC für meinen AL server instalieren
nun ist mir aber aufgefallen in der instalationsdatei von bec gibt es die Karte Altis nicht zur auswahlweiß einer was man da machen kann ??
-
DER SHOP geht jetzt aber die error msg ist seit anfang an drin und wird unter showerrorscript oder wie der startparameter heißt in arma angezeigt auch mit clear files
-
kannst du mir dann auch bitte zeigen wie
-
Moin hat jemand nen plan wie ich einen Timer anzeigen lassen kann zb eine paintball lobby öffnet sich und schließt in 180 sekunden
kann ich das irgendwie anzeigen lassen das er die 3 min sichtbar für alle runter zählt -
habe es schon heraus gefunden
habe es mal mit einem Pfeil markiert falls noch wer will
Code
Alles anzeigenTON_fnc_cell_copmsgall = compileFinal " if(isServer) exitWith {}; if((call life_coplevel) < 1) exitWith {hint ""Du bist kein Polizist!"";}; private[""_msg"",""_from""]; _msg = ctrlText 3003; if(_msg == """") exitWith {hint ""Zum senden bitte Nachricht eingeben!"";}; [[_msg,name player,7],""TON_fnc_clientMessage"",true,false] spawn life_fnc_MP; <----------------------------------------- [] call life_fnc_cellphone; hint format[""Polizei-Nachricht an alle gesendet: %1"",_msg]; ";
das [[_msg,name player,7],""TON_fnc_clientMessage"",true,false] spawn life_fnc_MP; ändern in
[[_msg,name player,6],""TON_fnc_clientMessage"",true,false] spawn life_fnc_MP; einfach gucken das die 2 die sele zahl haben Case und playerCodecase 6: { private[""_message"",""_admin""]; _message = format[""!!!Polizei-Nachricht: %1"",_msg]; _admin = format[""Gesendet von Polizei: %1"", _from]; hint parseText format [""<t color='#316dff'><t size='2'><t align='center'>Polizei-Nachricht<br/><br/><t align='center'><img size='5' color='#FFFFFF' image='textures\msg\nato.paa'/><br/><br/><t color='#33CC33'><t align='left'><t size='1'>An: <t color='#ffffff'>Alle Spieler<br/><t color='#33CC33'>Von: <t color='#ffffff'>Polizei Altis<br/><br/><t color='#33CC33'>Nachricht:<br/><t color='#ffffff'>%1"",_msg]; [""AdminMessage"",[""Du hast eine Nachricht von der Polizei erhalten!""]] call bis_fnc_showNotification; systemChat _message; };