GraphicsClient

requestStreamedTextureDict

REQUEST_STREAMED_TEXTURE_DICT0xDFA2EF8E04127DD5

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

SignatureJavaScript
requestStreamedTextureDict(textureDict: string, p1: boolean): void
SignatureLua
requestStreamedTextureDict(textureDict: string, p1: boolean)

Usage

JavaScript
requestStreamedTextureDict(textureDict, p1);
Lua
requestStreamedTextureDict(textureDict, p1)

Parameters

ParameterTypeJavaScriptLua
textureDictstringstringstring
p1BOOLbooleanboolean

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 function can requests texture dictonaries from following RPFs:
scaleform_generic.rpf
scaleform_minigames.rpf
scaleform_minimap.rpf
scaleform_web.rpf

last param isnt a toggle

Reference

Namespace
Graphics GRAPHICS
In the game
void REQUEST_STREAMED_TEXTURE_DICT(const char* textureDict, BOOL p1)
Hash
0xDFA2EF8E04127DD5

Open in the interactive natives reference