StreamingClient

requestModel

REQUEST_MODEL0x963D27A58DF860AC

The GTA V native REQUEST_MODEL of the STREAMING namespace, as LS:MP client scripts call it: the global function requestModel, in JavaScript and in Lua.

SignatureJavaScript
requestModel(model: Hash): void
SignatureLua
requestModel(model: Hash)

Usage

JavaScript
requestModel(model);
Lua
requestModel(model)

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

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.

Request a model to be loaded into memory.

Reference

Namespace
Streaming STREAMING
In the game
void REQUEST_MODEL(Hash model)
Hash
0x963D27A58DF860AC

Open in the interactive natives reference