PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA
Removes persistent entities within radius of the given coordinates.
Signature
void PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA(float x, float y, float z, float radius); // 0x9D16896F0DBE78A2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | radius | float |
Facts
| Name | PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA |
|---|---|
| Hash | 0x9D16896F0DBE78A2 |
| 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(0x9D16896F0DBE78A2, -- PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0 -- float radius
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x9D16896F0DBE78A2", // PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA
0.0, // float x
0.0, // float y
0.0, // float z
0.0 // float radius
);Function.Call((Hash)0x9D16896F0DBE78A2, // PERSISTENCE_REMOVE_ALL_ENTITIES_IN_AREA
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f // float radius
);Related PERSISTENCE natives
- PERSISTENCE_ADD_SCENARIO_LOOTED
- _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED
- _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED_AT_COORDS
- _PERSISTENCE_IS_SCENARIO_MARKED_AS_LOOTED_AT_COORDS_WITH_MODEL
- _PERSISTENCE_REFRESH_TOWN_VOLUME
- _0x065887B694359799
- _0x1F56FB3FDB4EAF65
- _0x291CC21D1FB6790E
- _0x2E545965DF98D476
- _0x3CA5E58C9731A16B
- _0x5A79220F6D38D7C3
- _0x66DAA3A9274E8E82
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.