SHARE
TWEET

Untitled

a guest Sep 5th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private _veh = param[0,objNull,[objNull]];
  2. private _engine = param[1,false,[false]];
  3. private _side = _veh getVariable["zero_var_vehicle_side",""];
  4.  
  5. if ((_side == "cop" && playerSide isEqualTo west) || (_side == "med" && playerSide isEqualTo independent)) exitWith {};
  6. if (_engine && {local _veh} && ((assignedVehicleRole player) select 0 == 'driver' || (assignedVehicleRole player) select 0 == 'turret') && {!(_veh in zero_var_vehicles)}) exitWith {
  7.     if(!isNil 'zero_var_showMessage' && {serverTime - zero_var_showMessage < 10}) exitWith {
  8.         _veh engineOn false;
  9. };
  10.  
  11. zero_var_showMessage = serverTime; titleText[format["Du benötigst den Schlüssel des Fahrzeugs um den Motor zu starten."],"PLAIN"]; _veh engineOn false; };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top