# AUDIO::_GET_PED_SONG_INDEX_HOST

- **Hash:** `0x2DBBF0C5E19383EE`
- **Namespace:** AUDIO
- **Runtime name (Lua/JS):** `GetPedSongIndexHost`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1232
- **URL:** https://natives.borderlinerp.com/natives/AUDIO/_GET_PED_SONG_INDEX_HOST

## Signature

```c
Any _GET_PED_SONG_INDEX_HOST(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`Any`

## Description

*Source: VORPCORE RDR3natives*

seems to be used for  0xE9694B2D6CB87B06

## Usage

### Lua

```lua
local retval = GetPedSongIndexHost(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x2DBBF0C5E19383EE, ped, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPedSongIndexHost(ped);

// by hash
const retval = Citizen.invokeNative('0x2DBBF0C5E19383EE', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x2DBBF0C5E19383EE, ped);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
