_GET_PED_SONG_INDEX_HOST
Based on its name and signature, here is our best reading:
Returns the song index associated with ped.
Signature
Any _GET_PED_SONG_INDEX_HOST(Ped ped); // 0x2DBBF0C5E19383EE b1232Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| 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.
local result = Citizen.InvokeNative(0x2DBBF0C5E19383EE, -- _GET_PED_SONG_INDEX_HOST
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x2DBBF0C5E19383EE", // _GET_PED_SONG_INDEX_HOST
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x2DBBF0C5E19383EE, // _GET_PED_SONG_INDEX_HOST
API.PlayerPedId() // Ped ped
);Related AUDIO natives
- _GET_LAST_PLAYED_SPEECH_FOR_PED
- _GET_ENTITY_AUDIO_MIX_GROUP
- _GET_LOADED_STREAM_ID_FROM_CREATION
- _CREATE_NEW_SCRIPTED_PED_AMBIENT_SPEECH
- _IS_PED_IN_ANY_CONVERSATION
- _PLAY_SOUND_FROM_SCRIPTED_PED_AMBIENT_SPEECH
- _SET_SOUND_RELATIONSHIP_ON_PED
- _SET_VOFX_PED_VOICE
- _SET_WHISTLE_CONFIG_FOR_PED
- ADD_PED_TO_CONVERSATION
- DISABLE_PED_PAIN_AUDIO
- DOES_CONTEXT_EXIST_FOR_THIS_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.