DELETE_OBJECT
Deletes the specified object, then sets the handle pointed to by the pointer to NULL.
Hash
0x931914268722C263Runtime name
DeleteObjectNamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x539E0AE3E6634B9FSignature
void DELETE_OBJECT(Object* object);Parameters
| Name | Type | Description |
|---|---|---|
object | Object* | — |
Returns void
Description
Deletes the specified object, then sets the handle pointed to by the pointer to NULL.
Usage
local object = DeleteObject(object)
-- always works, by hash
local object = Citizen.InvokeNative(0x931914268722C263, Citizen.PointerValueIntInitialized(object))JavaScript and C#
const object = DeleteObject(object);
// by hash
const object = Citizen.invokeNative('0x931914268722C263', Citizen.pointerValueIntInitialized(object));var object = new OutputArgument();
Function.Call((Hash)0x931914268722C263, 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.