GraphicsClient

presetInteriorAmbientCache

PRESET_INTERIOR_AMBIENT_CACHE0xD7021272EB0A451E

The GTA V native PRESET_INTERIOR_AMBIENT_CACHE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function presetInteriorAmbientCache, in JavaScript and in Lua.

SignatureJavaScript
presetInteriorAmbientCache(timecycleModifierName: string): void
SignatureLua
presetInteriorAmbientCache(timecycleModifierName: string)

Usage

JavaScript
presetInteriorAmbientCache(timecycleModifierName);
Lua
presetInteriorAmbientCache(timecycleModifierName)

Parameters

ParameterTypeJavaScriptLua
timecycleModifierNamestringstringstring

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.

Only one match in the scripts:

presetInteriorAmbientCache("int_carrier_hanger");

Reference

Namespace
Graphics GRAPHICS
In the game
void PRESET_INTERIOR_AMBIENT_CACHE(const char* timecycleModifierName)
Hash
0xD7021272EB0A451E
Formerly
_PRESET_INTERIOR_AMBIENT_CACHE

Open in the interactive natives reference