setObjectAsNoLongerNeeded
SET_OBJECT_AS_NO_LONGER_NEEDED0x3AE22DEB5BA5A3E6The GTA V native SET_OBJECT_AS_NO_LONGER_NEEDED of the ENTITY namespace, as LS:MP client scripts call it: the global function setObjectAsNoLongerNeeded, in JavaScript and in Lua.
setObjectAsNoLongerNeeded(object: Object): voidsetObjectAsNoLongerNeeded(object: Object)⚠
Known issue
The value of object does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours.
Usage
JavaScript
setObjectAsNoLongerNeeded(object);Lua
setObjectAsNoLongerNeeded(object)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | 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.
This is an alias of setEntityAsNoLongerNeeded.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_OBJECT_AS_NO_LONGER_NEEDED(Object* object)- Hash
0x3AE22DEB5BA5A3E6