Wiki

Clone wiki

EFLC-MP LUA / Dialog Functions

Dialog Functions

createDialogList

clearDialogRows

addDialogRow

setDialogListHeaders

deleteDialogList

Dialog Event

onPlayerDialogResponse

Dialog Demo

#!lua
createDialogList(1337,  "Leet List", 2, "Ok", "Cancel")
setDialogListHeaders(1337, "ID~Name")
addDialogRow(1337, "1~Hacker one")
addDialogRow(1337, "3~Hacker", 3) --Using custom row ID

showDialogList(playerid, 1337)

Updated