-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
28 lines (22 loc) · 1000 Bytes
/
Copy pathconfig.lua
File metadata and controls
28 lines (22 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Config = {
Framework = 'auto', -- 'auto', 'qb', 'esx'. Auto detecta automáticamente
-- Posición ajustada para estar justo encima del minimapa
Position = {
x = 0.015, -- 1.5% desde la izquierda
y = 0.68 -- 68% desde arriba
},
-- Espaciado entre múltiples TextUI
Spacing = 0.045, -- Espaciado entre elementos
Debug = false,
-- NUEVA SECCIÓN: Configuración del Menú de Ajustes
SettingsUI = {
Command = 'textuisettings', -- Comando para abrir el menú: /textuisettings
-- Tecla para cerrar el menú (opcional, pero útil)
-- Puedes usar códigos de control de FiveM (e.g., 20 = ESC, 177 = BACKSPACE)
CloseKey = 20, -- Código 20 es la tecla ESC
-- Nombre del evento NUI que se activará para mostrar la UI
OpenNuiEvent = 'DP-TextUI:Client:OpenSettingsUI',
-- Nombre del evento NUI que se activará para ocultar la UI
CloseNuiEvent = 'DP-TextUI:Client:CloseSettingsUI'
}
}