The Lab
AUDIO native

_GET_LAST_PLAYED_SPEECH_FOR_PED

returns Hash1 parambuild 1207

Returns the hash of the last speech line played by ped.

Signature

C
Hash _GET_LAST_PLAYED_SPEECH_FOR_PED(Ped ped); // 0x6BFFB7C276866996 b1207

Parameters

#NameType
1pedPed

Facts

Facts about _GET_LAST_PLAYED_SPEECH_FOR_PED
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.

Lua
local hash = Citizen.InvokeNative(0x6BFFB7C276866996, -- _GET_LAST_PLAYED_SPEECH_FOR_PED
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x6BFFB7C276866996", // _GET_LAST_PLAYED_SPEECH_FOR_PED
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x6BFFB7C276866996, // _GET_LAST_PLAYED_SPEECH_FOR_PED
  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.