RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. PLAY_PED_AMBIENT_SPEECH_NATIVE

PLAY_PED_AMBIENT_SPEECH_NATIVE

struct ScriptedSpeechParams { const char* speechName; const char* voiceName; alignas(8) int variation; alignas(8) Hash speechParamHash; alignas(8) Ped listenerPed; alignas(8) BOOL syncOverNetwork; alignas(8) int v7; alignas(8) int v8; }; static_assert(sizeof(ScriptedSpeechParams) == 0x40, "incorrect ScriptedSpeechParams size"); Example: ScriptedSpeechParams params{"RE_PH_RHD_V3_AGGRO", "0405_U_M_M_RhdSheriff_01", 1, joaat("SPEECH_PARAMS_BEAT_SHOUTED_CLEAR"), 0, true, 1, 1}; PLAY_PED_AMBIENT_SPEECH_NATIVE(PLAYER_PED_ID(), (Any*)&params); Old name: _PLAY_AMBIENT_SPEECH1 https://github.com/femga/rdr3_discoveries/tree/master/audio/audio_banks

AUDIOBuild 1207

Signature

lua
PlayPedAmbientSpeechNative(speaker, params)
-- returns BOOL

Parameters

NameTypeDescription
Ped—
Any*—

Usage

lua
PlayPedAmbientSpeechNative(speaker, params)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details