SET_SPAWNER_INFO_PRIORITY
Based on its name and signature, here is our best reading:
Sets a priority value on a spawner entry. The meaning of the hash parameters is not documented.
Signature
void SET_SPAWNER_INFO_PRIORITY(Hash p0, Hash p1, int priority); // 0x60CDE717A6D47769 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash |
| 2 | p1 | Hash |
| 3 | priority | int |
Facts
| Name | SET_SPAWNER_INFO_PRIORITY |
|---|---|
| Hash | 0x60CDE717A6D47769 |
| 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(0x60CDE717A6D47769, -- SET_SPAWNER_INFO_PRIORITY
GetHashKey("name"), -- Hash p0
GetHashKey("name"), -- Hash p1
0 -- int priority
)Citizen.invokeNative("0x60CDE717A6D47769", // SET_SPAWNER_INFO_PRIORITY
GetHashKey("name"), // Hash p0
GetHashKey("name"), // Hash p1
0 // int priority
);Function.Call((Hash)0x60CDE717A6D47769, // SET_SPAWNER_INFO_PRIORITY
(uint)API.GetHashKey("name"), // Hash p0
(uint)API.GetHashKey("name"), // Hash p1
0 // int priority
);Related POPULATION natives
- CLEAR_SPAWNER_INFO_PRIORITY
- SET_POPZONE_POPULATION_SET
- _SET_PED_SHOULD_IGNORE_AVOIDANCE_VOLUMES
- GET_NUM_MODELS_IN_POPULATION_SET
- GET_PED_MODEL_NAME_IN_POPULATION_SET
- GET_RANDOM_MODEL_FROM_POPULATION_SET
- _0x08892122769770D5
- _0x0F1861101C9A9944
- _0x2161278C6322F740
- _0x247F86595D396344
- _0x2660E7720EDC4BD0
- _0x324AB2A68AD8AEE5
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.