Skip to content

SetWaterQuadType ​

клиент SET_WATER_QUAD_TYPE

c
BOOL SET_WATER_QUAD_TYPE(int waterQuad, int type);

This native allows you to update the water quad type.

Valid type definitions:

  • 0 Square
  • 1 Right triangle where the 90 degree angle is at maxX, minY
  • 2 Right triangle where the 90 degree angle is at minX, minY
  • 3 Right triangle where the 90 degree angle is at minX, maxY
  • 4 Right triangle where the 90 degree angle is at maxY, maxY

Примеры ​

lua
local success = SetWaterQuadType(0, 0)

Параметры ​

  • waterQuad: The water quad index
  • type: The water quad type

Возвращает ​

Returns true on success.


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

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