The Lab
TASK native

GET_SCRIPTED_COVER_POINT_COORDS

returns Vector31 parambuild 1207

Returns the position of the scripted cover point coverpoint.

Signature

C
Vector3 GET_SCRIPTED_COVER_POINT_COORDS(ScrHandle coverpoint); // 0x594A1028FC2A3E85 b1207

Parameters

#NameType
1coverpointScrHandle

Facts

Facts about GET_SCRIPTED_COVER_POINT_COORDS
Name
GET_SCRIPTED_COVER_POINT_COORDS
Hash
0x594A1028FC2A3E85
Namespace
Returns
Vector3
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local coords = Citizen.InvokeNative(0x594A1028FC2A3E85, -- GET_SCRIPTED_COVER_POINT_COORDS
  0, -- ScrHandle coverpoint
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0x594A1028FC2A3E85", // GET_SCRIPTED_COVER_POINT_COORDS
  0, // ScrHandle coverpoint
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x594A1028FC2A3E85, // GET_SCRIPTED_COVER_POINT_COORDS
  0 // ScrHandle coverpoint
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.