RedM Natives

GET_SCRIPTED_COVER_POINT_COORDS

Hash0x594A1028FC2A3E85
Runtime nameGetScriptedCoverPointCoords
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x594A1028FC2A3E85

Signature

Vector3 GET_SCRIPTED_COVER_POINT_COORDS(ScrHandle coverpoint);

Parameters

NameTypeDescription
coverpointScrHandle—

Returns Vector3

Usage

Lua
local retval = GetScriptedCoverPointCoords(coverpoint)

-- always works, by hash
local retval = Citizen.InvokeNative(0x594A1028FC2A3E85, coverpoint, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetScriptedCoverPointCoords(coverpoint);

// by hash
const retval = Citizen.invokeNative('0x594A1028FC2A3E85', coverpoint, Citizen.returnResultAnyway(), Citizen.resultAsVector());
C#
Vector3 retval = Function.Call<Vector3>((Hash)0x594A1028FC2A3E85, coverpoint);

Sources

alloc8or RDR3 NativeDB

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