Beiträge von Frenzy
-
-
-
I did as you describe the central bank building that is locked. But it didn't happen and it still seems to be locked, and bugs are constantly popping up.
-
Have a look at fn_safeTake.sqf, fn_safeStore.sqf and fn_safeOpen.sqf
Thank you. But, I mean. I want it to come out in cash instead of gold. It's like the gasoline scenario. I want to add the explosive bomb to this script and I want the bank robbed after the bomb explodes. I also want an AAN news message when the bomb is set. I want it to contact this script.
Code
Alles anzeigen/* Author : MrKraken edited by Brizi jaeger */ //private["_robber","_shop","_kassa","_ui","_progress","_pgText","_cP","_rip","_pos"]; _shop = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param; //The object that has the action attached to it is _this. ,0, is the index of object, ObjNull is the default should there be nothing in the parameter or it's broken _robber = [_this,1,ObjNull,[ObjNull]] call BIS_fnc_param; //Can you guess? Alright, it's the player, or the "caller". The object is 0, the person activating the object is 1 //_kassa = 1000; //The amount the shop has to rob, you could make this a parameter of the call (community.bistudio.com/wiki/addAction). Give it a try and post below _action = [_this,2] call BIS_fnc_param;//Action name if(side _robber != civilian) exitWith { hintSilent "Du kannst dieses Depot nicht ausrauben!" }; if(_robber distance _shop > 15) exitWith { hintSilent "Maximal 15 Meter entfernen!" }; if !(_kassa) then { _kassa = 1000; }; if (_rip) exitWith { hintSilent "Golddepot wird schon ausgeraubt!" }; if (vehicle player != _robber) exitWith { hintSilent "Raus aus dem Fahrzeug!" }; if !(alive _robber) exitWith {}; if (currentWeapon _robber == "") exitWith { hintSilent "Ich finde Pranks immer wieder schön..." }; if (_kassa == 0) exitWith { hintSilent "Heute gibt es hier nichts!" }; _rip = true; _kassa = 200000 + round(random 100000); _shop removeAction _action; _shop switchMove "AmovPercMstpSsurWnonDnon"; _chance = random(100); if(_chance >= 1) then {[1,hint parseText format["<img size='10' color='#FFFFFF' image='textures\info.paa'/><br/><br/>" + ("Das Altis Gelddepot wird angegriffen! Verteidigen Sie es bevor die Gangster das Geld haben!")]] remoteExec ["life_fnc_broadcast",west]; }; if(_chance >= 1) then {[1,hint parseText format["<img size='10' color='#FFFFFF' image='textures\info.paa'/><br/><br/>" + ("Das Altis Gelddepot wird angegriffen! Wir bitte Sie sich in einem Umkreis von 1 Kilometer zu entfernen ansonsten muss mit beschuss gerechnet werden. Wenn Sie Verteidigen, schreiben Sie einen Notruf an die Polizei! Ihre Altis Polizei")]] remoteExec ["life_fnc_broadcast",civilian]; }; _cops = (west countSide playableUnits); if(_cops < 0) exitWith{[_vault,-1] remoteExec ["disableSerialization;",2]; hintSilent "Die Polizei hat alle einnahmen abgeholt!";}; disableSerialization; 5 cutRsc ["life_progress","PLAIN"]; _ui = uiNameSpace getVariable "life_progress"; _progress = _ui displayCtrl 38201; _pgText = _ui displayCtrl 38202; _pgText ctrlSetText format["Raub gestartet! Bewege dich maximal 15 Meter weit weg! (1%1)...","%"]; _progress progressSetPosition 0.01; _cP = 0.01; if(_rip) then { while{true} do { uiSleep 6; _cP = _cP + 0.01; _progress progressSetPosition _cP; _pgText ctrlSetText format["Behalte eine Distanz von 15 Metern zum Tresor! (%1%2)...",round(_cP * 100),"%"]; _Pos = position player; // by ehno: get player pos _marker = createMarker ["Marker200", _Pos]; //by ehno: Place a Maker on the map "Marker200" setMarkerColor "ColorRed"; "Marker200" setMarkerText "Sperrgebiet"; "Marker200" setMarkerType "mil_warning"; // "mil_warning" "Marker200" setMarkerShape "ELLIPSE"; //create sperrgebiet by brizi "Marker200" setMarkerSize [350, 350]; //create sperrgebiet by brizi if(_cP >= 1) exitWith {}; if(_robber distance _shop > 15.5) exitWith { }; if!(alive _robber) exitWith {}; }; if!(alive _robber) exitWith { _rip = false; }; if(_robber distance _shop > 15.5) exitWith { deleteMarker "Marker200"; _shop switchMove ""; hintSilent "Du warst zu weit weg vom Depot."; 5 cutText ["","PLAIN"]; _rip = false; }; 5 cutText ["","PLAIN"]; titleText[format["Du hast $%1 gestohlen, jetzt hau ab die Polizei ist unterwegs!!",[_kassa] call life_fnc_numberText],"PLAIN"]; deleteMarker "Marker200"; // by ehno delete maker deleteMarker "Marker900"; // by brizi delete sperrgebiet life_cash = life_cash + _kassa; [getPlayerUID _robber,name _robber,"23"] remoteExecCall ["life_fnc_wantedAdd",2]; _rip = false; life_use_atm = false; uiSleep (30 + random(180)); life_use_atm = true; if!(alive _robber) exitWith {}; }; uiSleep 300; _action = _shop addAction["Ausrauben",life_fnc_robfederal]; _shop switchMove "";
-
Hello ,
I want money instead of gold from central bank robbery but somehow I don't know what file it's on. Which script do I need to review ?
-
What exactly do you want to do and what tutorial is it exactly about? Without details and without logs no one will be able to help you
I
I mean. HP goes up When I wear seat belts, when ı have an accident. I think the problem is caused by this script. Even though I did everything from scratch, my dear suddenly becomes 100%.
-
Hello, I did everything as shown in the tutorial. But HP always regenerates itself when I put on the seat belt, when I crash.
-
How am i supposed to know what you did?
I fixed the problem thanks bro
-
One File is missing:
17:57:41 Warning Message: Script \life_server\Functions\Systems\fn_logIt.sqf not found
One Error:
17:57:59 Error in expression <], "Side Channel", "%UNIT_NAME", []];
fed_bank setVariable ["safe",count playa>
17:57:59 Error position: <fed_bank setVariable ["safe",count playa>
17:57:59 Error Undefined variable in expression: fed_bank
17:57:59 File life_server\init.sqf..., line 142
Thank you bro. I fixed the problem, I think it works now. Probably because of the bank vault. Did I fix it right?
-
He said, you should upload Logfiles!
-
My crystal ball says that log files would be very appreciated
Hello bro. I did not understand what you said? What should I do ?
-
Hello ,
I want to remove Maverick files, but deleted all Maverick's scripts, when I enter the game it is born on a desert island. And the spawn screen is not coming.
-
Thanks for your help bro. But everything went wrong. Land_Dome_Big_F appears to have its doors still locked. I did what he said but it's still the same. Land_Cargo_HQ_V1_F < I will also move the cargo safe in the central bank into it and I just want 2 doors of this building to be locked.
-
File: life_server/init.sqf
Line: 194 - 199Codefor "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false;
Just comment it out like this:
Code/* for "_i" from 1 to 3 do {_dome setVariable [format ["bis_disabled_Door_%1",_i],1,true]; _dome animateSource [format ["Door_%1_source", _i], 0];}; _dome setVariable ["locked",true,true]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _dome allowDamage false; _rsb allowDamage false; */
And u could delete the boltcutter if you want to
Thank you for help.
How do I lock the doors of this object? This has 2 doors and I want to lock these 2 doors. Land_Cargo_HQ_V1_F -
Hello there. I want to remove the central bank dome door locks. How and in what script can I edit it?
-
Hello..
When the central bank is robbed, I want Money to come out of the safe instead of Gold. From what script can we set this? I also want an AAN news message that the bomb was placed in the Central Bank vault. For example; Central bank robbed by masked individuals.
-
Can anyone help? HP goes up when I put on a seat belt.
-
Thank you. It works. But there is only one problem. When I want to seize the vehicle, the menu detects late and does not open. I also want the car not to be deleted when confiscated and returned to the parking lot. (Not a Garage) . When I seize the vehicle, it turns into the garage. Instead, I want it to go back to the parking lot when the car is seized. In what script can I set this up?
Can you check ? Can anyone Help ?
-
How and where do I add this line. Can you help me bro?
-
Can you post your Script which is responsible for this function?