_GET_LAST_PLAYED_SPEECH_FOR_PED
Returns the hash of the last speech line played by ped.
Signature
Hash _GET_LAST_PLAYED_SPEECH_FOR_PED(Ped ped); // 0x6BFFB7C276866996 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_LAST_PLAYED_SPEECH_FOR_PED |
|---|---|
| Hash | 0x6BFFB7C276866996 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x6BFFB7C276866996, -- _GET_LAST_PLAYED_SPEECH_FOR_PED
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x6BFFB7C276866996", // _GET_LAST_PLAYED_SPEECH_FOR_PED
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x6BFFB7C276866996, // _GET_LAST_PLAYED_SPEECH_FOR_PED
API.PlayerPedId() // Ped ped
);Related AUDIO natives
- _GET_PED_SONG_INDEX_HOST
- _CREATE_NEW_SCRIPTED_PED_AMBIENT_SPEECH
- _PLAY_SOUND_FROM_SCRIPTED_PED_AMBIENT_SPEECH
- _SET_WHISTLE_CONFIG_FOR_PED
- DOES_CONTEXT_EXIST_FOR_THIS_PED
- PLAY_PED_AMBIENT_SPEECH_NATIVE
- _GET_LOADED_STREAM_ID_FROM_CREATION
- _GET_ENTITY_AUDIO_MIX_GROUP
- _BLOCK_SPEECH_CONTEXT
- _CLEAR_CONVERSATION_HISTORY_FOR_SCRIPTED_CONVERSATION
- _IS_PED_IN_ANY_CONVERSATION
- _SET_SOUND_RELATIONSHIP_ON_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.