RedM Natives

_GET_PROXY_INTERIOR_INDEX

Returns proxyInteriorIndex

Hash0x5D1C5D8E62E8EE1C
Runtime nameGetProxyInteriorIndex
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _GET_PROXY_INTERIOR_INDEX(int interiorId);

Parameters

NameTypeDescription
interiorIdint—

Returns int

Description

Returns proxyInteriorIndex

Usage

Lua
local retval = GetProxyInteriorIndex(interiorId)

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

// by hash
const retval = Citizen.invokeNative('0x5D1C5D8E62E8EE1C', interiorId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x5D1C5D8E62E8EE1C, interiorId);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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