InteriorClient

enableExteriorCullModelThisFrame

ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME0xA97F257D0151A6AB

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

SignatureJavaScript
enableExteriorCullModelThisFrame(mapObjectHash: Hash): void
SignatureLua
enableExteriorCullModelThisFrame(mapObjectHash: Hash)

Usage

JavaScript
enableExteriorCullModelThisFrame(mapObjectHash);
Lua
enableExteriorCullModelThisFrame(mapObjectHash)

Parameters

ParameterTypeJavaScriptLua
mapObjectHashHashnumberinteger

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.

This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.

More info: https://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/

Reference

Namespace
Interior INTERIOR
In the game
void ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME(Hash mapObjectHash)
Hash
0xA97F257D0151A6AB
Formerly
_HIDE_MAP_OBJECT_THIS_FRAME

Open in the interactive natives reference