RedM Natives

UNPIN_INTERIOR

Does something similar to INTERIOR::DISABLE_INTERIOR.

Hash0x07FD1A0B814F6055
Runtime nameUnpinInterior
NamespaceINTERIOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x261CCE7EED010641

Signature

void UNPIN_INTERIOR(Interior interior);

Parameters

NameTypeDescription
interiorInterior—

Returns void

Description

Does something similar to INTERIOR::DISABLE_INTERIOR.

You don't fall through the floor but everything is invisible inside and looks the same as when INTERIOR::DISABLE_INTERIOR is used. Peds behaves normally inside.

Usage

Lua
UnpinInterior(interior)

-- always works, by hash
Citizen.InvokeNative(0x07FD1A0B814F6055, interior)
JavaScript and C#
JavaScript
UnpinInterior(interior);

// by hash
Citizen.invokeNative('0x07FD1A0B814F6055', interior);
C#
Function.Call((Hash)0x07FD1A0B814F6055, interior);

Sources

alloc8or RDR3 NativeDB

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