RedM Natives

SET_MODEL_AS_NO_LONGER_NEEDED

Marks the model as no longer needed.

Hash0x4AD96EF928BD4F9A
Runtime nameSetModelAsNoLongerNeeded
NamespaceSTREAMING
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE532F5D78798DAAB

Signature

void SET_MODEL_AS_NO_LONGER_NEEDED(Hash model);

Parameters

NameTypeDescription
modelHash—

Returns void

Description

Marks the model as no longer needed.

Usage

Lua
SetModelAsNoLongerNeeded(model)

-- always works, by hash
Citizen.InvokeNative(0x4AD96EF928BD4F9A, model)
JavaScript and C#
JavaScript
SetModelAsNoLongerNeeded(model);

// by hash
Citizen.invokeNative('0x4AD96EF928BD4F9A', model);
C#
Function.Call((Hash)0x4AD96EF928BD4F9A, model);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.