CreateDryVolume
Docslocal retval = CreateDryVolume(xMin, yMin, zMin, xMax, yMax, zMax)Description
Creates a volume where water effects do not apply.
Useful for preventing water collisions from flooding areas underneath them.
This has no effect on waterquads, only water created from drawables and collisions.
Don't create volumes when your local ped is swimming (e.g. use IS_PED_SWIMMING in your scripts before you call this)
Parameters
| Name | Type | Description |
|---|---|---|
xMin | float | The min X component of the AABB volume where water does not affect the player. |
yMin | float | The min Y component for the AABB volume. |
zMin | float | The min Z component for the AABB volume. |
xMax | float | The max X component for the AABB volume. |
yMax | float | The max Y component for the AABB volume. |
zMax | float | The max Z component for the AABB volume. |
Returns
intReturns an integer value.