DOES_RAYFIRE_MAP_OBJECT_EXIST
Returns true if the rayfire (scripted destruction) map object exists.
Signature
BOOL DOES_RAYFIRE_MAP_OBJECT_EXIST(Object object); // 0x52AF537A0C5B8AAD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | object | Object |
Facts
| Name | DOES_RAYFIRE_MAP_OBJECT_EXIST |
|---|---|
| Hash | 0x52AF537A0C5B8AAD |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x52AF537A0C5B8AAD, -- DOES_RAYFIRE_MAP_OBJECT_EXIST
0 -- Object object
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x52AF537A0C5B8AAD", // DOES_RAYFIRE_MAP_OBJECT_EXIST
0, // Object object
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x52AF537A0C5B8AAD, // DOES_RAYFIRE_MAP_OBJECT_EXIST
0 // Object object
);Related OBJECT natives
- DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
- DOES_PICKUP_OBJECT_EXIST
- GET_RAYFIRE_MAP_OBJECT
- GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE
- GET_STATE_OF_RAYFIRE_MAP_OBJECT
- SET_STATE_OF_RAYFIRE_MAP_OBJECT
- DOES_PICKUP_EXIST
- DOES_PICKUP_OF_TYPE_EXIST_IN_AREA
- DELETE_OBJECT
- _DAMAGE_OBJECT_FRAGMENT_BY_INDEX
- _GET_LIGHT_INTENSITY_FROM_OBJECT
- _GET_OBJECT_FRAGMENT_COUNT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.