SPAWNPOINTS_START_SEARCH
Starts searching for spawn points around the given position within width, using spawnpointsFlag.
Poll SPAWNPOINTS_IS_SEARCH_COMPLETE, then read results with SPAWNPOINTS_GET_SEARCH_RESULT.
Signature
void SPAWNPOINTS_START_SEARCH(float x, float y, float z, float width, float p4, int spawnpointsFlag, float p6, int duration, float p8); // 0x2DF9038C90AD5264 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | width | float |
| 5 | p4 | float |
| 6 | spawnpointsFlag | int |
| 7 | p6 | float |
| 8 | duration | int |
| 9 | p8 | float |
Facts
| Name | SPAWNPOINTS_START_SEARCH |
|---|---|
| Hash | 0x2DF9038C90AD5264 |
| 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(0x2DF9038C90AD5264, -- SPAWNPOINTS_START_SEARCH
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float width
0.0, -- float p4
0, -- int spawnpointsFlag
0.0, -- float p6
0, -- int duration
0.0 -- float p8
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2DF9038C90AD5264", // SPAWNPOINTS_START_SEARCH
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float width
0.0, // float p4
0, // int spawnpointsFlag
0.0, // float p6
0, // int duration
0.0 // float p8
);Function.Call((Hash)0x2DF9038C90AD5264, // SPAWNPOINTS_START_SEARCH
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float width
0.0f, // float p4
0, // int spawnpointsFlag
0.0f, // float p6
0, // int duration
0.0f // float p8
);Related PED natives
- SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
- 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
- _SPAWNPOINTS_START_SEARCH_WITH_VOLUME
- SPECIAL_FUNCTION_DO_NOT_USE
- SET_AI_MELEE_WEAPON_DAMAGE_MODIFIER
- SET_AI_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.