textureDownloadRequest
TEXTURE_DOWNLOAD_REQUEST0x16160DA74A8E74A2The GTA V native TEXTURE_DOWNLOAD_REQUEST of the NETWORK namespace, as LS:MP client scripts call it: the global function textureDownloadRequest, in JavaScript and in Lua.
textureDownloadRequest(
gamerHandle: null,
filePath: string,
name: string,
p3: boolean
): numbertextureDownloadRequest(
gamerHandle: nil,
filePath: string,
name: string,
p3: boolean
): integer✕
Blocked for scripts: Rockstar online sessions and content
LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Network NETWORK
- In the game
int TEXTURE_DOWNLOAD_REQUEST(Any* gamerHandle, const char* filePath, const char* name, BOOL p3)- Hash
0x16160DA74A8E74A2