_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 AnyParameters
| Name | Type | Description |
|---|---|---|
| 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
