capInterior
CAP_INTERIOR0xD9175F941610DB54The 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.
capInterior(interior: Interior, toggle: boolean): voidcapInterior(interior: Interior, toggle: boolean)Usage
JavaScript
capInterior(interior, toggle);Lua
capInterior(interior, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
interior | Interior | number | integer |
toggle | BOOL | boolean | boolean |
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