SoundPlayAmbientSpeechEventSpecific
Description
info
lineid
matches the line number in audio\PLAYLIST\Speech.lst
minus 1.
function SoundPlayAmbientSpeechEventSpecific(ped, speechid, lineid) --[[ ... ]] end
Parameters
ped
:integer
- The ped to make talk.speechid
:string
- The speech event name.lineid
:integer
- The line to play.
Return Values
...
Example
Makes Jimmy say his Jimmy_PIDLER_v1 line, or "Freaking garbage weather.".
SoundPlayAmbientSpeechEventSpecific(gPlayer, 'PLAYER_IDLE_RAIN', 34011)