Up
  • EN
Sign in to the site
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
    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:
236
Total downloads: 236
Unique downloads: 110
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 simplifies the creation of dialog windows, reducing the process to a single line of code.

Currently, there are dialog windows with buttons, integer input, string input, and RadioButtons.

Here is a brief manual

 hidden text

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

Header - Window title (string)

Text - Text following the title (string)

strButtons - Text displayed on the buttons (table of strings)

butSize - imgui.ImVec2, button size

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

strButtons - Text displayed on the buttons (table of tables of strings)

buttons from different tables strButtons are arranged in the corresponding row (e.g. {{\"1row 1\", \"1row 2\"}, {\"2row 1\", \"2row 2\"}})

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

strButtons - Text displayed on the RadioButtons (table of strings)

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

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

It differs from the previous one by having Values

Values - a table of values (can also be a table of tables), the value at the index of the selected RadioButton is returned by this function.

m.InputIntDialog(Header, Text, strInts, imints, butSize) creates a dialog window for entering an integer (or integers)

strInts - a table of names for the number input fields

imints - a table of imgui.ImInt to store the values.

m.InputTextDialog(Header, Text, strings, imbufs, butSize) creates a dialog window for entering a string (or multiple strings)

strings - a table of names for the 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 - 2025 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