Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class EventHandlers {
- init = "qudru = [_this select 0] execVM ""\max_police_mod\newlightbar\createlightbar.sqf"";siren = [_this select 0] execVM""max_police_mod\scripts\police_siren.sqf""";
- };
- class UserActions {
- class lightsOn {
- displayName = "<t color='#0000ff'>Beacons On</t>";
- displayNameDefault = "<img image='max_police_mod\data\ui\beconson.paa' size='1.8'/>";
- position = "mph_axis";
- onlyforplayer = "true";
- radius = 5;
- condition = "!(this getvariable [""lightson"", false]) and (player == driver this)AND Alive(this) and canmove this";
- statement = "this setvariable [""lightson"", true, true]";
- };
- class lightsOff {
- displayName = "<t color='#0000ff'>Beacons Off</t>";
- displayNameDefault = "<img image='max_police_mod\data\ui\beconsoff.paa' size='1.8'/>";
- position = "mph_axis";
- onlyforplayer = "true";
- radius = 5;
- condition = "(this getvariable [""lightson"", false]) and (player == driver this)AND Alive(this) and canmove this";
- statement = "this setVariable [""lightson"", false, true]";
- };
- class SirenOn {
- displayName = "<t color='#0000ff'>Siren On</t>";
- displayNameDefault = "<img image='max_police_mod\data\ui\sirenon.paa' size='1.8'/>";
- position = "mph_axis";
- onlyforplayer = "true";
- radius = 5;
- condition = "!(this getvariable [""sirenon"", false]) and (player == driver this)AND Alive(this) and canmove this";
- statement = "this setvariable [""sirenon"", true]";
- };
- class SirenOff {
- displayName = "<t color='#0000ff'>Siren Off</t>";
- displayNameDefault = "<img image='max_police_mod\data\ui\sirenoff.paa' size='1.8'/>";
- position = "mph_axis";
- onlyforplayer = "true";
- radius = 5;
- condition = "(this getvariable [""sirenon"", false]) and (player == driver this)AND Alive(this) and canmove this";
- statement = "this setVariable [""sirenon"", false, true]";
- };
- class radioOn {
- displayName = "<t color='#FFFF00'>Radio On</t>";
- displayNameDefault = "";
- position = "mph_axis";
- onlyforplayer = "true";
- radius = 5;
- condition = "!(this getvariable [""radioon"", false]) and (player == driver this)AND Alive(this) and canmove this";
- statement = "this setvariable [""radioon"", true];[this] execVM""max_police_mod\scripts\police_radio.sqf""";
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement