GetWaveQuadAtCoords
клиент GET_WAVE_QUAD_AT_COORDS
c
int GET_WAVE_QUAD_AT_COORDS(float x, float y);This native returns the index of a wave quad if the given point is inside its bounds.
Примеры
lua
local currentPedPosition = GetEntityCoords(PlayerPedId())
local waveQuadIndex = GetWaveQuadAtCoords(currentPedPosition.x, currentPedPosition.y)Параметры
- x: The X coordinate
- y: The Y coordinate
Возвращает
The wave quad index at the given position. Returns -1 if there isn't any there.
Страница собрана автоматически из native-decls/GetWaveQuadAtCoords.md. Нашли ошибку — поправьте исходный файл.