SET_OBJECT_AS_NO_LONGER_NEEDED
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Hash
0x3AE22DEB5BA5A3E6Runtime name
SetObjectAsNoLongerNeededNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3AE22DEB5BA5A3E6Signature
void SET_OBJECT_AS_NO_LONGER_NEEDED(Object* object);Parameters
| Name | Type | Description |
|---|---|---|
object | Object* | — |
Returns void
Description
This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED.
Usage
local object = SetObjectAsNoLongerNeeded(object)
-- always works, by hash
local object = Citizen.InvokeNative(0x3AE22DEB5BA5A3E6, Citizen.PointerValueIntInitialized(object))JavaScript and C#
const object = SetObjectAsNoLongerNeeded(object);
// by hash
const object = Citizen.invokeNative('0x3AE22DEB5BA5A3E6', Citizen.pointerValueIntInitialized(object));var object = new OutputArgument();
Function.Call((Hash)0x3AE22DEB5BA5A3E6, object);
// object.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.