Up
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
  • EN
New comments
GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Mods
  • Lua scripts
  • Lua ImGUI dialog windows

Lua ImGUI dialog windows

  • Lua ImGUI dialog windows / GTA San Andreas
  • Lua ImGUI dialog windows / GTA San Andreas
  • Lua ImGUI dialog windows / GTA San Andreas
GTA San Andreas / Mods / Lua scripts
Author:
SAlvatoreLEone(SaLe)
More details
Uploaded:
SAlvatoreLEone(SaLe) Subscribe You are subscribed
Size:
6.36 Kb
Uploaded:
8 December 2019
Downloads:
222
Total downloads: 222
Unique downloads: 97
10 / 10
14 people rated the file
ПавелЧерненко
wwwwandrarijaz
Sanya997
Guest
AlmazBeta
Guest
Destor
l1_9ir
SDRBB
Vladimir_P
TheBadZero
Timur_SH
lmfar
DtCreater
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 1575757799_dialog.rar
    Virus check from Virustotal: the file is safe (view report)
    Download (0.01 MB)

This script will simplify the writing of dialog boxes, reduce the creation of a dialog box to writing a single line.

At the moment there are dialog boxes with buttons, input of integers, input of strings and with RadioButton.

Here is small manual

hidden text

m.BtnDialog(Header, Text, strButtons, butSize) creates a dialog box with buttons and text

Header - Window title (string)

Text - Text after title(string)

strButtons - Text displayed on buttons (string table)

butSize - imgui.ImVec2, button size

m.BigBtnDialog(Header, Text, strButtons, butSize) creates a dialog box with buttons and text

strButtons - Text displayed on buttons (string table table)

buttons from different strButtons tables are located on the corresponding line(ex. {{"1stroka 1", "1stroka 2"}, {"2s 1", "2s 2"}})

m.RadioButtonDialog(Header, Text, strButtons, imint, butSize) creates a dialog with RadioButtons

strButtons - Text displayed on RadioButtons (string table)

imint - imgui.ImInt, which contains the number of the selected RadioButton (from one).

m.RadioButtonReturnDialog(Header, Text, strButtons, Values, imint, butSize) creates a dialog with RadioButtons

Values ​​- a table of values ​​(maybe a table of tables), the value at the index of the selected RadioButton from which is returned by this function.

m.InputIntDialog(Header, Text, strInts, imints, butSize) creates a dialog box with input of integer(s)

strInts - table of names for number input fields

imints - imgui.ImInt table to store values ​​in them.

m.InputTextDialog(Header, Text, strings, imbufs, butSize) creates a dialog box with input string(s)

strings - table of names for text input fields

The file name and description have been translated. Show original (RU)Show translation (EN)
Lua ImGUI dialog windows

Этот скрипт упростит написание диалоговых окон, сведёт создание диалогового окна к написанию одной строки.

На данный момент присутствуют диалоговые окна с кнопками, вводом целых чисел, вводом строк и с RadioButton.

Вот небольшой мануал

 cкрытый текст

m.BtnDialog(Header, Text, strButtons, butSize) создаёт диалоговое окно с кнопками и текстом

Header - Заголовок окна(строка)

Text - Текст после заголовка(строка)

strButtons - Текст, отображаемый на кнопках(таблица строк)

butSize - imgui.ImVec2, размер кнопок

m.BigBtnDialog(Header, Text, strButtons, butSize) создаёт диалоговое окно с кнопками и текстом

strButtons - Текст, отображаемый на кнопках(таблица таблиц строк)

кнопки из разный таблиц strButtons располагаются на соответствующей строчке(ex. {{\"1stroka 1\", \"1stroka 2\"}, {\"2s 1\", \"2s 2\"}})

m.RadioButtonDialog(Header, Text, strButtons, imint, butSize) создаёт диалоговое окно с RadioButton`ами

strButtons - Текст, отображаемый на RadioButton`ах(таблица строк)

imint - imgui.ImInt, в который записывается номер выбранного RadioButton`а (с еденицы).

m.RadioButtonReturnDialog(Header, Text, strButtons, Values, imint, butSize) создаёт диалоговое окно с RadioButton`ами

От предыдущего отличается наличием Values

Values - таблица значений(может быть и таблица таблиц), значение по индексу выбранного RadioButton`а из которого возвращается этой функцией.

m.InputIntDialog(Header, Text, strInts, imints, butSize) создает диалоговое окно с вводом целого числа(целых чисел)

strInts - таблица названий для полей ввода чисел

imints - таблица imgui.ImInt для записи в них значений.

m.InputTextDialog(Header, Text, strings, imbufs, butSize) создает диалоговое окно с вводом строки(нескольких строк)

strings - таблица наименований для полей ввода текста

Comments 1
© 2008- LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search