RedM Natives

_GET_LAST_PLAYED_SPEECH_FOR_PED

Gets the hash for the last played speech line.

Hash0x6BFFB7C276866996
Runtime nameGetLastPlayedSpeechForPed
NamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Hash _GET_LAST_PLAYED_SPEECH_FOR_PED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Hash

Description

alloc8or RDR3 NativeDB

Gets the hash for the last played speech line.

femga rdr3_discoveries · research notes

0x6bffb7c276866996 (by aaron1a12)
Gets the hash for the last played speech line

N_0x6bffb7c276866996(ped)

Usage

Lua
local retval = GetLastPlayedSpeechForPed(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6BFFB7C276866996, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetLastPlayedSpeechForPed(ped);

// by hash
const retval = Citizen.invokeNative('0x6BFFB7C276866996', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x6BFFB7C276866996, 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 · femga rdr3_discoveries

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.