The Lab
PED native

_SET_PED_INTERACTION_POSITIVE_RESPONSE

returns void2 paramsbuild 1207

Sets the speech line speech ped uses when responding positively to an interaction.

Signature

C
void _SET_PED_INTERACTION_POSITIVE_RESPONSE(Ped ped, const char* speech); // 0x20C5459379D75C1C b1207

Parameters

#NameType
1pedPed
2speechconst char*

Facts

Facts about _SET_PED_INTERACTION_POSITIVE_RESPONSE
Name
_SET_PED_INTERACTION_POSITIVE_RESPONSE
Hash
0x20C5459379D75C1C
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x20C5459379D75C1C, -- _SET_PED_INTERACTION_POSITIVE_RESPONSE
  PlayerPedId(), -- Ped ped
  "text" -- const char* speech
)
JavaScript
Citizen.invokeNative("0x20C5459379D75C1C", // _SET_PED_INTERACTION_POSITIVE_RESPONSE
  PlayerPedId(), // Ped ped
  "text" // const char* speech
);
C#
Function.Call((Hash)0x20C5459379D75C1C, // _SET_PED_INTERACTION_POSITIVE_RESPONSE
  API.PlayerPedId(), // Ped ped
  "text" // const char* speech
);
All PED natives

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