mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
346 B
Plaintext
23 lines
346 B
Plaintext
/*
|
|
RemoveRainEffect
|
|
|
|
Author: Garth de Wet (LH)
|
|
|
|
Description:
|
|
Removes rain effects from the screen. Resets the rain array.
|
|
|
|
Parameters:
|
|
Nothing
|
|
|
|
Returns:
|
|
Nothing
|
|
|
|
Example:
|
|
call FUNC(RemoveRainEffect);
|
|
*/
|
|
#include "script_component.hpp"
|
|
if (!isNull (GVAR(RainDrops))) then {
|
|
deleteVehicle (GVAR(RainDrops));
|
|
};
|
|
GVAR(RainActive) = false;
|