| Property | Value |
|---|---|
| Native Name | GET_CALMING_QUAD_AT_COORDS |
| Hash | 0x870E8B40 |
| Return Type | int |
| API Set | client |
| Parameters | x (float), y (float) |
Description: This native returns the index of a calming quad if the given point is inside its bounds.
Parameters
x(float) — The X coordinatey(float) — The Y coordinate
Examples
local currentPedPosition = GetEntityCoords(PlayerPedId())
local calmingQuadIndex = GetCalmingQuadAtCoords(currentPedPosition.x, currentPedPosition.y)