doesRayfireMapObjectExist
DOES_RAYFIRE_MAP_OBJECT_EXIST0x52AF537A0C5B8AADThe GTA V native DOES_RAYFIRE_MAP_OBJECT_EXIST of the OBJECT namespace, as LS:MP client scripts call it: the global function doesRayfireMapObjectExist, in JavaScript and in Lua.
doesRayfireMapObjectExist(object: Object): booleandoesRayfireMapObjectExist(object: Object): booleanUsage
JavaScript
const result = doesRayfireMapObjectExist(object);Lua
local result = doesRayfireMapObjectExist(object)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if a destructible object with this handle exists, false otherwise.
Reference
- Namespace
- Object OBJECT
- In the game
BOOL DOES_RAYFIRE_MAP_OBJECT_EXIST(Object object)- Hash
0x52AF537A0C5B8AAD- Formerly
_DOES_DES_OBJECT_EXIST