Native referenceFiveMclient

CREATE_DRY_VOLUME

0xEB1C6DD CFX
FUNCTION SIGNATURE
int CREATE_DRY_VOLUME(float xMin, float yMin, float zMin, float xMax, float yMax, float zMax);
Property Value
Native Name CREATE_DRY_VOLUME
Hash 0xEB1C6DD
Return Type int
API Set client
Parameters xMin (float), yMin (float), zMin (float), xMax (float), yMax (float), zMax (float)

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

  • 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.
Back to CFX