_PED_APPLY_SPEECH_RELATIONSHIP
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
BOOL _PED_APPLY_SPEECH_RELATIONSHIP(Ped ped, Hash p1); // 0x1E017404784AA6A3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x1E017404784AA6A3, -- _PED_APPLY_SPEECH_RELATIONSHIP
PlayerPedId(), -- Ped ped
GetHashKey("name") -- Hash p1
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x1E017404784AA6A3", // _PED_APPLY_SPEECH_RELATIONSHIP
PlayerPedId(), // Ped ped
GetHashKey("name"), // Hash p1
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x1E017404784AA6A3, // _PED_APPLY_SPEECH_RELATIONSHIP
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name") // Hash p1
);Related PED natives
- _PED_REMOVE_SPEECH_RELATIONSHIP
- _APPLY_PED_META_PED_OUTFIT
- _GET_PED_SPEECH_RELATIONSHIP
- _APPLY_PED_DAMAGE_PACK_TO_BONE
- _APPLY_SHOP_ITEM_TO_PED
- _APPLY_TEXTURE_ON_PED
- _CAN_PED_HEAR_TARGET_PED
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_WHO_HOGITIED_THIS_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.