InteriorClient

unpinInterior

UNPIN_INTERIOR0x261CCE7EED010641

The GTA V native UNPIN_INTERIOR of the INTERIOR namespace, as LS:MP client scripts call it: the global function unpinInterior, in JavaScript and in Lua.

SignatureJavaScript
unpinInterior(interior: Interior): void
SignatureLua
unpinInterior(interior: Interior)

Usage

JavaScript
unpinInterior(interior);
Lua
unpinInterior(interior)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Does something similar to disableInterior.

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

Reference

Namespace
Interior INTERIOR
In the game
void UNPIN_INTERIOR(Interior interior)
Hash
0x261CCE7EED010641

Open in the interactive natives reference