Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. class UserActions {
  2. class codetwo {
  3. displayName = "Blaulicht An";
  4. position = "drivewheel";
  5. radius = 1000;
  6. condition = "driver this == player && (this getVariable 'am_lightbar') == 0;this animationPhase ""lamp1"" <= 0.5";
  7. statement = "this setVariable ['am_lightbar',1,true];this animate [""lamp1"",1,true];this animate [""lamp2"",1,true]";
  8. onlyForplayer = 0;
  9. };
  10. class codeone {
  11. displayName = "Blaulicht Aus";
  12. position = "drivewheel";
  13. radius = 1000;
  14. condition = "driver this == player && (this getVariable 'am_lightbar') == 1;this animationPhase ""lamp1"" <= 0.5";
  15. statement = "this setVariable ['am_lightbar',0,true];this animate [""lamp1"",0,true];this animate [""lamp2"",0,true]";
  16. onlyForplayer = 0;
  17. };
  18. class sirenon {
  19. displayName = "Sirene An";
  20. position = "drivewheel";
  21. radius = 1000;
  22. condition = "driver this == player && (this getVariable 'am_siren') == 0";
  23. statement = "this setVariable ['AM_siren',1,true]";
  24. onlyForplayer = 0;
  25. };
  26. class sirenoff {
  27. displayName = "Sirene Aus";
  28. position = "drivewheel";
  29. radius = 1000;
  30. condition = "driver this == player && (this getVariable 'am_siren') == 1";
  31. statement = "this setVariable ['AM_siren',0,true]";
  32. onlyForplayer = 0;
  33. };
  34. class folgen_on {
  35. displayName = "Bitte Folgen An";
  36. position = "drivewheel";
  37. radius = 1000;
  38. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 0";
  39. statement = "this setVariable ['am_bitte_folgen',1,true]";
  40. onlyForplayer = 0;
  41. };
  42. class folgen_off {
  43. displayName = "Bitte Folgen Aus";
  44. position = "drivewheel";
  45. radius = 1000;
  46. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 1";
  47. statement = "this setVariable ['am_bitte_folgen',0,true]";
  48. onlyForplayer = 0;
  49. };
  50. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement