InteriorClient

capInterior

CAP_INTERIOR0xD9175F941610DB54

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

SignatureJavaScript
capInterior(interior: Interior, toggle: boolean): void
SignatureLua
capInterior(interior: Interior, toggle: boolean)

Usage

JavaScript
capInterior(interior, toggle);
Lua
capInterior(interior, toggle)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger
toggleBOOLbooleanboolean

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

Reference

Namespace
Interior INTERIOR
In the game
void CAP_INTERIOR(Interior interior, BOOL toggle)
Hash
0xD9175F941610DB54

Open in the interactive natives reference