# POPULATION::SET_SPAWNER_INFO_PRIORITY

- **Hash:** `0x60CDE717A6D47769`
- **Namespace:** POPULATION
- **Runtime name (Lua/JS):** `SetSpawnerInfoPriority`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/POPULATION/SET_SPAWNER_INFO_PRIORITY

## Signature

```c
void SET_SPAWNER_INFO_PRIORITY(Hash p0, Hash p1, int priority);
```

## Parameters

- `p0` (`Hash`)
- `p1` (`Hash`)
- `priority` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
SetSpawnerInfoPriority(p0, p1, priority)

-- always available, by hash
Citizen.InvokeNative(0x60CDE717A6D47769, p0, p1, priority)
```

### JavaScript

```js
SetSpawnerInfoPriority(p0, p1, priority);

// by hash
Citizen.invokeNative('0x60CDE717A6D47769', p0, p1, priority);
```

### C#

```csharp
Function.Call((Hash)0x60CDE717A6D47769, p0, p1, priority);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

## See also

- [POPULATION::CLEAR_SPAWNER_INFO_PRIORITY](https://natives.borderlinerp.com/natives/POPULATION/CLEAR_SPAWNER_INFO_PRIORITY.md)

*Sources: alloc8or RDR3 NativeDB.*
