RedM Natives

GET_GAMEPLAY_CAM_COORD

Hash0x595320200B98596E
Runtime nameGetGameplayCamCoord
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x14D6F5678D8F1B37

Signature

Vector3 GET_GAMEPLAY_CAM_COORD();

Returns Vector3

Usage

Lua
local retval = GetGameplayCamCoord()

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

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

Sources

alloc8or RDR3 NativeDB

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