The Lab
AUDIO native

_GET_PED_SONG_INDEX_HOST

returns Any1 parambuild 1232

Based on its name and signature, here is our best reading:

Returns the song index associated with ped.

Signature

C
Any _GET_PED_SONG_INDEX_HOST(Ped ped); // 0x2DBBF0C5E19383EE b1232

Parameters

#NameType
1pedPed

Facts

Facts about _GET_PED_SONG_INDEX_HOST
Name
_GET_PED_SONG_INDEX_HOST
Hash
0x2DBBF0C5E19383EE
Namespace
Returns
Any
Game build
1232

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x2DBBF0C5E19383EE, -- _GET_PED_SONG_INDEX_HOST
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x2DBBF0C5E19383EE", // _GET_PED_SONG_INDEX_HOST
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x2DBBF0C5E19383EE, // _GET_PED_SONG_INDEX_HOST
  API.PlayerPedId() // Ped ped
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.