Advertisement
Guest User

Untitled

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