RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _PLAY_SOUND_FROM_SCRIPTED_SPEECH

_PLAY_SOUND_FROM_SCRIPTED_SPEECH

Play/advance a scripted speech created via _CREATE_NEW_SCRIPTED_PED_AMBIENT_SPEECH and return a status code. Return values: 0 = not ready/invalid/failed 1 = started/playing 2 = finished/consumed (you can drop the handle) Typical usage: poll this in a tick after creating the speech; when it returns 2, clear your handle.

AUDIOBuild 1207

Signature

lua
PlaySoundFromScriptedSpeech(0)
-- returns Any

Parameters

NameTypeDescription
int—

Usage

lua
PlaySoundFromScriptedSpeech(0)

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

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details