RedM Natives

GET_INTERIOR_FROM_PRIMARY_VIEW

Hash0xBC8A281FF125C655
Runtime nameGetInteriorFromPrimaryView
NamespaceINTERIOR
SideClient
NameOfficial
Docs
Since build1207

Signature

Interior GET_INTERIOR_FROM_PRIMARY_VIEW();

Returns Interior

Usage

Lua
local retval = GetInteriorFromPrimaryView()

-- always works, by hash
local retval = Citizen.InvokeNative(0xBC8A281FF125C655, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetInteriorFromPrimaryView();

// by hash
const retval = Citizen.invokeNative('0xBC8A281FF125C655', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xBC8A281FF125C655);

Sources

alloc8or RDR3 NativeDB

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