SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
Starts searching for spawn points inside the angled area between the two points.
Signature
void SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA(float x1, float y1, float z1, float x2, float y2, float z2, float width, int spawnpointsFlag, float p8, int duration, float p10); // 0xB2AFF10216DEFA2F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x1 | float |
| 2 | y1 | float |
| 3 | z1 | float |
| 4 | x2 | float |
| 5 | y2 | float |
| 6 | z2 | float |
| 7 | width | float |
| 8 | spawnpointsFlag | int |
| 9 | p8 | float |
| 10 | duration | int |
| 11 | p10 | float |
Facts
| Name | SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA |
|---|---|
| Hash | 0xB2AFF10216DEFA2F |
| 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(0xB2AFF10216DEFA2F, -- SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
0.0, -- float x1
0.0, -- float y1
0.0, -- float z1
0.0, -- float x2
0.0, -- float y2
0.0, -- float z2
0.0, -- float width
0, -- int spawnpointsFlag
0.0, -- float p8
0, -- int duration
0.0 -- float p10
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xB2AFF10216DEFA2F", // SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
0.0, // float x1
0.0, // float y1
0.0, // float z1
0.0, // float x2
0.0, // float y2
0.0, // float z2
0.0, // float width
0, // int spawnpointsFlag
0.0, // float p8
0, // int duration
0.0 // float p10
);Function.Call((Hash)0xB2AFF10216DEFA2F, // SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
0.0f, // float x1
0.0f, // float y1
0.0f, // float z1
0.0f, // float x2
0.0f, // float y2
0.0f, // float z2
0.0f, // float width
0, // int spawnpointsFlag
0.0f, // float p8
0, // int duration
0.0f // float p10
);Related PED natives
- SPAWNPOINTS_START_SEARCH
- SPAWNPOINTS_CANCEL_SEARCH
- SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
- SPAWNPOINTS_GET_SEARCH_RESULT
- SPAWNPOINTS_GET_SEARCH_RESULT_FLAGS
- SPAWNPOINTS_IS_SEARCH_ACTIVE
- SPAWNPOINTS_IS_SEARCH_COMPLETE
- SPAWNPOINTS_IS_SEARCH_FAILED
- _SET_PED_DEFENSIVE_AREA_TO_ANGLED_AREA
- _SPAWNPOINTS_START_SEARCH_WITH_VOLUME
- _REGISTER_HATED_TARGETS_IN_AREA
- IS_ANY_PED_SHOOTING_IN_AREA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.