interruptConversation
INTERRUPT_CONVERSATION0xA018A12E5C5C2FA6The GTA V native INTERRUPT_CONVERSATION of the AUDIO namespace, as LS:MP client scripts call it: the global function interruptConversation, in JavaScript and in Lua.
interruptConversation(ped: Ped, voiceline: string, speaker: string): voidinterruptConversation(ped: Ped, voiceline: string, speaker: string)Usage
JavaScript
interruptConversation(ped, voiceline, speaker);Lua
interruptConversation(ped, voiceline, speaker)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
voiceline | string | string | string |
speaker | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Example from carsteal3.c: interruptConversation(playerPedId(), "CST4_CFAA", "FRANKLIN");
Voicelines can be found in GTAV\x64\audio\sfx in files starting with "SS_" which seems to mean scripted speech.
Reference
- Namespace
- Audio AUDIO
- In the game
void INTERRUPT_CONVERSATION(Ped ped, const char* voiceline, const char* speaker)- Hash
0xA018A12E5C5C2FA6