Wiki
Clone wikiEFLC-MP LUA / onPlayerDialogResponse
Description
This function is triggered after once the player clicks on either of the dialog buttons.
Parameters
Int playerId, Int dialogId, Int buttonId, Int rowId, int customRowId
Int dialogId: The ID of the dialog
Int buttonId: 1: left button, 0: right button
Int rowId: Index like, from 0 to number of rows - 1. Or -1 if no row is selected.
Int customRowId: Id of the row provided at addDialogRow. (Build 11.2)
Return values
Example
Updated