RedM Natives

DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS

Checks if there is a cover point at position

Hash0xA98B8E3C088E5A31
Runtime nameDoesScriptedCoverPointExistAtCoords
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA98B8E3C088E5A31

Signature

BOOL DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS(Any p0, Any p1, Any p2, Any p3);

Parameters

NameTypeDescription
p0Any—
p1Any—
p2Any—
p3Any—

Returns BOOL

Description

Checks if there is a cover point at position

Usage

Lua
local retval = DoesScriptedCoverPointExistAtCoords(p0, p1, p2, p3)

-- always works, by hash
local retval = Citizen.InvokeNative(0xA98B8E3C088E5A31, p0, p1, p2, p3, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = DoesScriptedCoverPointExistAtCoords(p0, p1, p2, p3);

// by hash
const retval = Citizen.invokeNative('0xA98B8E3C088E5A31', p0, p1, p2, p3, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xA98B8E3C088E5A31, p0, p1, p2, p3);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.