• Register
Welcome, Guest
Username: Password: Remember me

TOPIC: [COMING SOON] SUV's Have Sirens.

[COMING SOON] SUV's Have Sirens. 10 years 3 weeks ago #887

  • DY357LX
  • DY357LX's Avatar
  • OFFLINE
  • I would kill you for a crumpet.
To quote a famous rapper...
"Nee-nar, nee-nar, that's the sound of the po-lice!"

The following code serves as an example of ArmA 2 scripting, and also shows you which SUV's have sirens enabled:
//Sirens
_isCopcar = typeOf _vehicle in ["SUV_TK_CIV_EP1","SUV_TK_CIV_EP1_DZE1","SUV_TK_CIV_EP1_DZE2","SUV_TK_CIV_EP1_DZE3","SUV_TK_CIV_EP1_DZE4","LadaLM","LadaLM_DZE1","LadaLM_DZE2","LadaLM_DZE3","LadaLM_DZE4"];

if (_inVehicle and _isCopcar and (driver _vehicle == player)) then {
        dayz_addsirens = _vehicle;
    if (s_player_sirens_on < 0) then {
        s_player_sirens_on = dayz_addsirens addAction ["Sirens on","Scripts\sirens\sirens_on.sqf",dayz_addsirens,2,false,true,"",""];
        s_player_sirens_off = dayz_addsirens addAction ["Sirens off","Scripts\sirens\sirens_off.sqf",dayz_addsirens,2,false,true,"",""];
        };
    } else {
        dayz_addsirens removeAction s_player_sirens_on;
        dayz_addsirens removeAction s_player_sirens_off;
        s_player_sirens_on = -1;
        s_player_sirens_off = -1;
    };

I'm sure Coogie + Hyper will insist I remove certain models to make it less annoying, but for now... go mental.

And so is the Golden City blackened
With each step you take in my Hall.
Marvel at perfection, for it is fleeting.
You have brought Sin to Heaven
And doom upon all the world.
The topic has been locked.

[COMING SOON] SUV's Have Sirens. 10 years 3 weeks ago #888

that's super annoying!, not even the police cars are listed to have them lmao
The topic has been locked.

[COMING SOON] SUV's Have Sirens. 10 years 3 weeks ago #890

  • DY357LX
  • DY357LX's Avatar
  • OFFLINE
  • I would kill you for a crumpet.
If Coogie has uploaded the PBO's I sent him late last night, the only vehicles with sirens are:
LadaLM, Policecar and the Merlin helicopter.

The sirens should also work fine now. I haven't been online today to test them so I'll need someone else to test + report back.
And so is the Golden City blackened
With each step you take in my Hall.
Marvel at perfection, for it is fleeting.
You have brought Sin to Heaven
And doom upon all the world.
The topic has been locked.

[COMING SOON] SUV's Have Sirens. 10 years 3 weeks ago #891

I dont know if you still need to know but my merlins sirens werent working 2 days ago, as in a got the option but it did nothing
The topic has been locked.

[COMING SOON] SUV's Have Sirens. 10 years 2 weeks ago #893

  • DY357LX
  • DY357LX's Avatar
  • OFFLINE
  • I would kill you for a crumpet.
They'll be fixed in the next upload.
Not sure when that'll be as Coogie and I are waiting on the latest anti-hack files to be emailed over.
And so is the Golden City blackened
With each step you take in my Hall.
Marvel at perfection, for it is fleeting.
You have brought Sin to Heaven
And doom upon all the world.
The topic has been locked.

S5 Box

Login/Logout

Register

Please click the image below to register with the site