Hello
How to make Reserve Slot Donator simple Rebel ?
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.
Hello
How to make Reserve Slot Donator simple Rebel ?
I want to have the following progress bar fatigure
Jaaaaaaaaa GANZ GENAU!
Selected array delete ? in fn_atmMenu.sqf
@heyy519,
please poste your server rpt log file now.
Wich altis life version are you using?
I Use Version 4.4r4
Could you please send us your fn_robShops.sqf file?
#include "..\..\script_macros.hpp"
private["_robber","_shop","_kassa","_ui","_progress","_pgText","_cP","_rip","_pos"];
_shop = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
_robber = [_this,1,ObjNull,[ObjNull]] call BIS_fnc_param;
_action = [_this,2] call BIS_fnc_param;
if(side _robber != civilian) exitWith { hint "Dostum Bu Benzinligi Soyamazsin" };
if(_robber distance _shop > 4) exitWith { hint "Yuh! 4 metre uzakliktan seni soyuyorum diyorsun!" };
if !(_kassa) then { _kassa = 1000; };
if (_rip) exitWith { hint "Soygun zaten devam ediyor!" };
if (vehicle player != _robber) exitWith { hint "Aractan inmelisin!" };
if !(alive _robber) exitWith {};
if (currentWeapon _robber == "") exitWith { hint "Üzgünüm Soymak için Silaha ihtiyacın var." };
if (_kassa == 0) exitWith { hint "Kasada para bitmis!" };
_cops = (west countSide playableUnits);
if(_cops < 3) exitWith{[_vault,-1] remoteExec ["disableSerialization;",2]; hint "Soygun icin yeterli polis yok.";};
_rip = true;
_kassa = 10000 + round(random 10000);
_shop removeAction _action;
_shop switchMove "AmovPercMstpSsurWnonDnon";
_chance = random(100);
if(_chance >= 15) then {
hint "Kasiyer alarmi aktiflestirdi.!! Polisler yola cikmistir bile ...";
[[0,1],format["%1 BENZINLIK ISTASYONU SOYULUYOR..! ",_shop]] remoteExecCall ["life_fnc_broadcast",west];
[[0,1],format["%1 BENZINLIK ISTASYONU SOYULUYOR..! ",_shop]] remoteExecCall ["life_fnc_broadcast",civilian];
};
disableSerialization;
41 cutRsc ["life_progress","PLAIN"];
_ui = uiNameSpace getVariable "life_progress";
_progress = _ui displayCtrl 38201;
_pgText = _ui displayCtrl 38202;
_pgText ctrlSetText format["Soygun devam ediyor, 10 metreden fazla uzaklasma. (1%1)...","%"];
_progress progressSetPosition 0.01;
_cP = 0.01;
if(_rip) then
{
while{true} do
{
sleep 2;
_cP = _cP + 0.01;
_progress progressSetPosition _cP;
_pgText ctrlSetText format["Soygun devam ediyor, 10 metreden fazla uzaklasma. (%1%2)...",round(_cP * 100),"%"];
_Pos = position player;
_marker = createMarker ["Marker200", _Pos];
"Marker200" setMarkerColor "ColorRed";
"Marker200" setMarkerText "UYARI BU BENZINLIK SOYULUYOR...";
"Marker200" setMarkerType "mil_warning";
if(_cP >= 1) exitWith {};
if(_robber distance _shop > 10.5) exitWith { };
if!(alive _robber) exitWith {};
};
if!(alive _robber) exitWith { _rip = false; };
if(_robber distance _shop > 10.5) exitWith {
deleteMarker "Marker200";
_shop switchMove "";
hint "Soygun icin 10 metre yakininda olmalisin yoksa nasil soyacaksin ?";
41 cutText ["","PLAIN"];
_rip = false;
};
41 cutText ["","PLAIN"];
titleText[format["Polisler gelmeden uzaklas.%1 TL, tutarinda parayi caldin!",[_kassa] call life_fnc_numberText],"PLAIN"];
deleteMarker "Marker200";
life_atmbank = life_atmbank + _kassa;
_rip = false;
life_use_atm = false;
sleep (30 + random(180));
life_use_atm = true;
if!(alive _robber) exitWith {};
[getPlayerUID _robber,name _robber,"211"] remoteExec ["life_fnc_wantedAdd",2];
};
sleep 300;
_action = _shop addAction["Benzinligi Soy",life_fnc_robShops];
_shop switchMove "";
Alles anzeigen
Well actually i understand it like this :If the oil Station got robbed that it appears in AAN News ?
YES
yes ı using translate ı speak eng
I want to switch to automatic message at the start of petrol robbery aan news
Wie soll ich die neuesten Nachrichten Tankstelle Raub begann zu bekommen ? help me