You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activates the entity set with the specified name in the given interior. If you want to disable a entity set, use [`DEACTIVATE_INTERIOR_ENTITY_SET`](#_0x420BD37289EEE162).
13
+
12
14
```
13
-
More info: http://gtaforums.com/topic/836367-adding-props-to-interiors/
15
+
NativeDB Introduced: v323
16
+
More info: https://gtaforums.com/topic/836367-adding-props-to-interiors/
14
17
```
15
18
16
19
## Parameters
17
-
* **interior**:
18
-
* **entitySetName**:
20
+
* **interior**: The index of the interior.
21
+
* **entitySetName**: The name of the entity set to activate.
22
+
23
+
## Examples
24
+
```lua
25
+
-- Get the interior id for the casino penthouse
26
+
local interiorID = GetInteriorAtCoords(976.6364, 70.29476, 115.1641)
27
+
28
+
-- Activate certain entity sets for the casino penthouse
Culls exterior objects from rendering (G-buffer only) based on the model name hash. Primarily used in multiplayer apartments to hide the exterior shell of buildings. This native needs to be called every frame.
13
+
12
14
```
13
-
This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.
15
+
NativeDB Introduced: v323
16
+
More info: https://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/
14
17
```
15
18
16
19
## Parameters
17
-
* **mapObjectHash**:
20
+
* **mapObjectHash**: The hash of the model name to cull
21
+
22
+
## Examples
23
+
```lua
24
+
CreateThread(function()
25
+
local buildingTopHash = GetHashKey("hei_kt1_08_buildingtop_a")
26
+
local emissiveHash = GetHashKey("hei_kt1_08_kt1_emissive_ema")
Culls exterior objects from rendering (cascade shadows only) based on the model name hash. Primarily used in multiplayer apartments to hide the exterior structure of buildings. This native needs to be called every frame and is generally used with [`ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME`](#_0xA97F257D0151A6AB).
13
+
14
+
```
15
+
NativeDB Introduced: v323
16
+
```
17
+
18
+
## Parameters
19
+
* **mapObjectHash**: The hash of the model name to cull from shadow rendering.
20
+
21
+
## Examples
22
+
```lua
23
+
CreateThread(function()
24
+
local buildingTopHash = GetHashKey("hei_kt1_08_buildingtop_a")
25
+
local emissiveHash = GetHashKey("hei_kt1_08_kt1_emissive_ema")
0 commit comments