Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. class EventHandlers {
  2. init = "qudru = [_this select 0] execVM ""\max_police_mod\newlightbar\createlightbar.sqf"";siren = [_this select 0] execVM""max_police_mod\scripts\police_siren.sqf""";
  3. };
  4.  
  5. class UserActions {
  6. class lightsOn {
  7. displayName = "<t color='#0000ff'>Beacons On</t>";
  8. displayNameDefault = "<img image='max_police_mod\data\ui\beconson.paa' size='1.8'/>";
  9. position = "mph_axis";
  10. onlyforplayer = "true";
  11. radius = 5;
  12. condition = "!(this getvariable [""lightson"", false]) and (player == driver this)AND Alive(this) and canmove this";
  13. statement = "this setvariable [""lightson"", true, true]";
  14. };
  15.  
  16. class lightsOff {
  17. displayName = "<t color='#0000ff'>Beacons Off</t>";
  18. displayNameDefault = "<img image='max_police_mod\data\ui\beconsoff.paa' size='1.8'/>";
  19. position = "mph_axis";
  20. onlyforplayer = "true";
  21. radius = 5;
  22. condition = "(this getvariable [""lightson"", false]) and (player == driver this)AND Alive(this) and canmove this";
  23. statement = "this setVariable [""lightson"", false, true]";
  24. };
  25.  
  26. class SirenOn {
  27. displayName = "<t color='#0000ff'>Siren On</t>";
  28. displayNameDefault = "<img image='max_police_mod\data\ui\sirenon.paa' size='1.8'/>";
  29. position = "mph_axis";
  30. onlyforplayer = "true";
  31. radius = 5;
  32. condition = "!(this getvariable [""sirenon"", false]) and (player == driver this)AND Alive(this) and canmove this";
  33. statement = "this setvariable [""sirenon"", true]";
  34. };
  35.  
  36. class SirenOff {
  37. displayName = "<t color='#0000ff'>Siren Off</t>";
  38. displayNameDefault = "<img image='max_police_mod\data\ui\sirenoff.paa' size='1.8'/>";
  39. position = "mph_axis";
  40. onlyforplayer = "true";
  41. radius = 5;
  42. condition = "(this getvariable [""sirenon"", false]) and (player == driver this)AND Alive(this) and canmove this";
  43. statement = "this setVariable [""sirenon"", false, true]";
  44. };
  45.  
  46. class radioOn {
  47. displayName = "<t color='#FFFF00'>Radio On</t>";
  48. displayNameDefault = "";
  49. position = "mph_axis";
  50. onlyforplayer = "true";
  51. radius = 5;
  52. condition = "!(this getvariable [""radioon"", false]) and (player == driver this)AND Alive(this) and canmove this";
  53. statement = "this setvariable [""radioon"", true];[this] execVM""max_police_mod\scripts\police_radio.sqf""";
  54. };
  55. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement