getInteriorGroupId
GET_INTERIOR_GROUP_ID0xE4A84ABF135EF91AThe GTA V native GET_INTERIOR_GROUP_ID of the INTERIOR namespace, as LS:MP client scripts call it: the global function getInteriorGroupId, in JavaScript and in Lua.
getInteriorGroupId(interior: Interior): numbergetInteriorGroupId(interior: Interior): integerUsage
JavaScript
const result = getInteriorGroupId(interior);Lua
local result = getInteriorGroupId(interior)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
interior | Interior | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns the group ID of the specified interior.
0 = default
1 = subway station, subway tracks, sewers
3 = train tunnel under mirror park
5 = tunnel near del perro
6 = train tunnel near chilliad
7 = train tunnel near josiah
8 = train tunnel in sandy shores
9 = braddock tunnel (near chilliad)
12 = tunnel under fort zancudo
14 = train tunnel under cypress flats
18 = rockford plaza parking garage
19 = arcadius parking garage
20 = union depository parking garage
21 = fib parking garage
Reference
- Namespace
- Interior INTERIOR
- In the game
int GET_INTERIOR_GROUP_ID(Interior interior)- Hash
0xE4A84ABF135EF91A