Skip to content

CreateDryVolume ​

клиент CREATE_DRY_VOLUME

c
int CREATE_DRY_VOLUME(float xMin, float yMin, float zMin, float xMax, float yMax, float zMax);

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)

Параметры ​

  • xMin: The min X component of the AABB volume where water does not affect the player.
  • yMin: The min Y component for the AABB volume.
  • zMin: The min Z component for the AABB volume.
  • xMax: The max X component for the AABB volume.
  • yMax: The max Y component for the AABB volume.
  • zMax: The max Z component for the AABB volume.

Returns ​

The handle of the created volume.


Страница собрана автоматически из native-decls/CreateDryVolume.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.