InteriorClient

isValidInterior

IS_VALID_INTERIOR0x26B0E73D7EAAF4D3

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Interior INTERIOR
In the game
BOOL IS_VALID_INTERIOR(Interior interior)
Hash
0x26B0E73D7EAAF4D3

Open in the interactive natives reference