Wiki

Clone wiki

EFLC-MP LUA / createDialogList

Description

Creates a new empty dialog list.

Parameters

Int dialogId, String windowHeader, Int numOfColumns, String button1Name, String button2Name
Int dialogId: an unique ID of your choice

String windowHeader: a name for the window that will be displayed

Int numOfColumns: amount of columns for each row

String button1Name: a name for the left button

String button2Name: a name for the right button

Return values

Bool success

Example

(https://bitbucket.org/Suge/eflc-mp-lua/src/master/filterscripts/weapons.lua)

Updated