InteriorClient

setInteriorInUse

SET_INTERIOR_IN_USE0x4C2330E61D3DEB56

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

SignatureJavaScript
setInteriorInUse(interior: Interior): boolean
SignatureLua
setInteriorInUse(interior: Interior): boolean

Usage

JavaScript
const result = setInteriorInUse(interior);
Lua
local result = setInteriorInUse(interior)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Only used once in the entire game scripts.
Does not actually return anything.

Reference

Namespace
Interior INTERIOR
In the game
BOOL SET_INTERIOR_IN_USE(Interior interior)
Hash
0x4C2330E61D3DEB56

Open in the interactive natives reference