The Lab
PED native

_GET_PED_SPEECH_RELATIONSHIP

returns BOOL2 paramsbuild 1207

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

Appears to return a speech relationship state for ped.

Signature

C
BOOL _GET_PED_SPEECH_RELATIONSHIP(Ped ped, Hash p1); // 0x7C8AA850617651D9 b1207

Parameters

#NameType
1pedPed
2p1Hash

Facts

Facts about _GET_PED_SPEECH_RELATIONSHIP
Name
_GET_PED_SPEECH_RELATIONSHIP
Hash
0x7C8AA850617651D9
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(0x7C8AA850617651D9, -- _GET_PED_SPEECH_RELATIONSHIP
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash p1
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x7C8AA850617651D9", // _GET_PED_SPEECH_RELATIONSHIP
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash p1
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x7C8AA850617651D9, // _GET_PED_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.