Skip to main content
Ped/NPC Dialogues

Client events

Listen for dialogue activity and changes to streamed dialogue NPCs.

Event reference

Dialogue events

React when dialogue NPCs stream in or out and when a dialogue starts or stops.

4 events
ped_dialogue:onDialoguePedStreamed

Triggered when the NPC streams in.

ctxPedEntry class
ped_dialogue:onDialoguePedStreamedOut

Triggered when the NPC streams out.

None
ped_dialogue:onDialogueStarted

Triggered when the player starts a dialogue with an NPC.

ctxPedEntry class
ped_dialogue:onDialogueStopped

Triggered when the player stops or ends the dialogue with an NPC.

None