Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. private ["_car","_song1"];
  2.  
  3. _car = _this select 0;
  4.  
  5.  
  6. waitUntil {(_car getvariable ["songon1", false])};
  7.  
  8. _song1 = createVehicle ["Land_Battery_F", getpos _car,[], 0, ""];
  9. _song1 Attachto [_car, [0,0,-0.8]];
  10. _song1 say3d "song_1";
  11.  
  12.  
  13. while {(_car getvariable ["songon1", false]) and canmove _car} do {
  14.  
  15.  
  16.  
  17.  
  18. if(!canmove _car)exitwith{};
  19. Sleep 1;
  20. };
  21. deletevehicle _song1;
  22. if(!canmove _car)exitwith{};
  23.  
  24. [_car] execVM "\max_police_mod\scripts\police_siren1.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement