Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. class UserActions
  2. {
  3. class Siren_on {
  4. displayName = "<t color='#ff0000'>Sirene An</t>";
  5. position = "drivewheel";
  6. radius = 2;
  7. condition = "driver this == player && (this getVariable ['sireneactive',0]) == 0";
  8. shortcut="sitDown";
  9. showWindow=0;
  10. statement = "this setVariable ['sireneactive',1,true];";
  11. onlyForplayer = 0;
  12. };
  13. class Siren_off {
  14. displayName = "<t color='#ff0000'>Sirene Aus</t>";
  15. position = "drivewheel";
  16. radius = 2;
  17. condition = "driver this == player && (this getVariable ['sireneactive',0]) == 1";
  18. shortcut="sitDown";
  19. showWindow=0;
  20. statement = "this setVariable ['sireneactive',0,true];";
  21. onlyForplayer = 0;
  22. };
  23. };
  24.  
  25.  
  26. ---------------------------in der config.cpp in der base PBO______________________
  27.  
  28. class CfgSounds {
  29. sounds[] = {};
  30. class copsirene {
  31. name = "copsirene";
  32. sound[] = {"MostWantedRPG_Base\Sounds\copvioce\PA500.wav", 5, 1.0, 250};
  33. titles[] = {};
  34. };
  35. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement