requestModel
REQUEST_MODEL0x963D27A58DF860ACThe 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.
requestModel(model: Hash): voidrequestModel(model: Hash)Usage
JavaScript
requestModel(model);Lua
requestModel(model)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
model | Hash | number | integer |
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