Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Wipers script made by granQ.
- Made for SFP, Swedish Forces Pack.
- Feel free to use, adjust for own purposes.
- The sound is from:
- http://www.freesound.org/samplesViewSingle.php?id=24208
- and have been modified by granQ. Feel free to use it as well under the
- Creative Commons Sampling Plus 1.0 License
- http://creativecommons.org/licenses/sampling+/1.0/
- */
- private ["_car"];
- _car = _this;
- while {player in _car} do
- {
- while {(rain > 0) AND (isEngineOn _car) AND (local _car)} do
- {
- _car animate ["wipers", 0];
- _car animate ["wipers2", 0];
- sleep 0.7875;
- _car say "sfp_tgb11_sound_wipers";
- _car animate ["wipers", 1];
- _car animate ["wipers2", 1];
- sleep 0.7875;
- };
- _car animate ["wipers", 0];
- _car animate ["wipers2", 0];
- waituntil {rain > 0};
- sleep 5;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement