Skip to content

GetWaterQuadType ​

клиент GET_WATER_QUAD_TYPE

c
BOOL GET_WATER_QUAD_TYPE(int waterQuad, int* waterType);

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, type = GetWaterQuadType(0)

Параметры ​

  • waterQuad: The water quad index

Возвращает ​

Returns true on success. Type is undefined on failure


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

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