2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-01-18 21:50:45 +00:00
|
|
|
/*
|
2015-02-02 09:04:53 +00:00
|
|
|
* Author: Garth 'L-H' de Wet
|
|
|
|
* Removes rain effects from the screen.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2015-09-29 19:28:57 +00:00
|
|
|
* call ace_goggles_fnc_removeRainEffect
|
2015-02-02 09:04:53 +00:00
|
|
|
*
|
|
|
|
* Public: Yes
|
|
|
|
*/
|
2015-09-29 19:28:57 +00:00
|
|
|
|
|
|
|
if (!isNull GVAR(RainDrops)) then {
|
|
|
|
deleteVehicle GVAR(RainDrops);
|
2015-01-18 21:50:45 +00:00
|
|
|
};
|
2015-09-29 19:28:57 +00:00
|
|
|
|
2015-01-18 21:50:45 +00:00
|
|
|
GVAR(RainActive) = false;
|
2015-01-18 22:57:39 +00:00
|
|
|
GVAR(RainLastLevel) = 0;
|