The Lab
PED native

_PED_APPLY_SPEECH_RELATIONSHIP

returns BOOL2 paramsbuild 1207

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

Appears to apply a speech relationship to ped. The meaning of p1 is unclear.

Signature

C
BOOL _PED_APPLY_SPEECH_RELATIONSHIP(Ped ped, Hash p1); // 0x1E017404784AA6A3 b1207

Parameters

#NameType
1pedPed
2p1Hash

Facts

Facts about _PED_APPLY_SPEECH_RELATIONSHIP
Name
_PED_APPLY_SPEECH_RELATIONSHIP
Hash
0x1E017404784AA6A3
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x1E017404784AA6A3, -- _PED_APPLY_SPEECH_RELATIONSHIP
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x1E017404784AA6A3", // _PED_APPLY_SPEECH_RELATIONSHIP
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x1E017404784AA6A3, // _PED_APPLY_SPEECH_RELATIONSHIP
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash p1
);
All PED natives

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