CLEAR_AREA
Clears entities within radius of (x, y, z), with flag controlling what gets removed.
Signature
void CLEAR_AREA(float x, float y, float z, float radius, int flag); // 0x3B882A96EA77D5B1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | radius | float |
| 5 | flag | int |
Facts
| Name | CLEAR_AREA |
|---|---|
| Hash | 0x3B882A96EA77D5B1 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x3B882A96EA77D5B1, -- CLEAR_AREA
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float radius
0 -- int flag
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x3B882A96EA77D5B1", // CLEAR_AREA
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float radius
0 // int flag
);Function.Call((Hash)0x3B882A96EA77D5B1, // CLEAR_AREA
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float radius
0 // int flag
);Related MISC natives
- CLEAR_ANGLED_AREA_OF_VEHICLES
- _CLEAR_VOLUME_AREA
- CLEAR_BIT
- CLEAR_OVERRIDE_WEATHER
- CLEAR_TACTICAL_NAV_MESH_POINTS
- CLEAR_WEATHER_TYPE_PERSIST
- _ADD_DISPATCH_SPAWN_BLOCKING_AREA
- _CLEAR_ALL_BIT_FLAGS
- _CLEAR_BIT_FLAG
- _CLEAR_WEATHER_TYPE_PERSIST_OVERTIME
- _CLEAR_WEATHER_VARIATION
- _DOES_POP_MULTIPLIER_AREA_EXIST_FOR_VOLUME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.