Skip to content

GetCalmingQuadAtCoords ​

клиент GET_CALMING_QUAD_AT_COORDS

c
int GET_CALMING_QUAD_AT_COORDS(float x, float y);

This native returns the index of a calming quad if the given point is inside its bounds.

Примеры ​

lua
local currentPedPosition = GetEntityCoords(PlayerPedId())
local calmingQuadIndex = GetCalmingQuadAtCoords(currentPedPosition.x, currentPedPosition.y)

Параметры ​

  • x: The X coordinate
  • y: The Y coordinate

Возвращает ​

The calming quad index at the given position. Returns -1 if there isn't any there.


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

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