setModelAsNoLongerNeeded
SET_MODEL_AS_NO_LONGER_NEEDED0xE532F5D78798DAABThe GTA V native SET_MODEL_AS_NO_LONGER_NEEDED of the STREAMING namespace, as LS:MP client scripts call it: the global function setModelAsNoLongerNeeded, in JavaScript and in Lua.
setModelAsNoLongerNeeded(model: Hash): voidsetModelAsNoLongerNeeded(model: Hash)Usage
JavaScript
setModelAsNoLongerNeeded(model);Lua
setModelAsNoLongerNeeded(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.
Unloads model from memory
Reference
- Namespace
- Streaming STREAMING
- In the game
void SET_MODEL_AS_NO_LONGER_NEEDED(Hash model)- Hash
0xE532F5D78798DAAB