SHARE
TWEET

Untitled

a guest Nov 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     Wipers script made by granQ.
  3.     Made for SFP, Swedish Forces Pack.
  4.     Feel free to use, adjust for own purposes.
  5.     The sound is from:
  6.     http://www.freesound.org/samplesViewSingle.php?id=24208
  7.     and have been modified by granQ. Feel free to use it as well under the
  8.     Creative Commons Sampling Plus 1.0 License
  9.     http://creativecommons.org/licenses/sampling+/1.0/
  10.  
  11. */
  12. private ["_car"];
  13. _car = _this;
  14.  
  15. while {player in _car} do
  16. {
  17.     while {(rain > 0) AND (isEngineOn _car) AND (local _car)} do
  18.     {
  19.         _car animate ["wipers", 0];
  20.         _car animate ["wipers2", 0];
  21.         sleep 0.7875;
  22.         _car say "sfp_tgb11_sound_wipers";
  23.         _car animate ["wipers", 1];
  24.         _car animate ["wipers2", 1];
  25.         sleep 0.7875;
  26.     };
  27.     _car animate ["wipers", 0];
  28.     _car animate ["wipers2", 0];
  29.     waituntil {rain > 0};
  30.     sleep 5;
  31. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top