
An extremely simple script that damages the player for swimming during cold weathers.
Features:
-Damage every two seconds (Configurable)
-Half damage for standing in water
-Full damage for swimming
-Double damage for being underwater
-Damage worsens as weather worsens
-Camera Shakes when taking damage
-Camera VFX while in freezing water
-Configurable damage multiplier
Damage Chart:
Assuming DamageMultiplier = 1. Damage applies every two seconds by default.
[ ][ SnowOnGround/Light Snow][Normal Snow/Xmas][Blizzard]
[Standing ][ 3 ][ 4 ][ 5 ]
[In Water ][ 6 ][ 8 ][ 10 ]
[Underwater ][ 12 ][ 16 ][ 20 ]
Config Options
EnableCameraShake – Whether or not to shake the camera when taking damage. On by default.
EnableVFX – Whether or not to enable the white screen effect when in freezing water. On by default.
EnableWhileSnowOnGround – If the ground is covered in snow, any weather will damage the player while swimming. On by default.
DamageFrequency – How often to apply damage, in milliseconds. Default is 2000ms, or every two seconds.
DamageMultiplier – Final tunable to alter the damage done by the script. set to 2 for double damage, 0.5 for half damage, etc. 1 is the default damage values in the chart above.
Requirements:
ScriptHookVDotNet
Installation:
Drop IceWater.dll and IceWater.ini into your GTA V scripts folder.
Known Issues:
If Snow on Terrain has been enabled then disabled, it can take some time for the water to stop damaging the player. If anyone has a game version independent way of checking for snow on terrain from SHVDN please let me know!
Credits:
Hydraxonn







![SPAS-12 from CoD Cold War [Animated] V1.0 SPAS-12 from CoD Cold War [Animated] V1.0](https://gta5mod.net/wp-content/uploads/2023/01/SPAS-12-from-CoD-Cold-War-150x150.jpg)
![XM117 From Cold War [Replace / Fivem] V1.0 XM117 From Cold War [Replace / Fivem] V1.0](https://gta5mod.net/wp-content/uploads/2024/03/XM117-From-Cold-War-150x150.png)
