Native referenceRedMclient

GET_CALMING_QUAD_AT_COORDS

0x870E8B40 CFX
FUNCTION SIGNATURE
int GET_CALMING_QUAD_AT_COORDS(float x, float y);
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 coordinate
  • y (float) — The Y coordinate

Examples

local currentPedPosition = GetEntityCoords(PlayerPedId())
local calmingQuadIndex = GetCalmingQuadAtCoords(currentPedPosition.x, currentPedPosition.y)
Back to CFX