🖌️Interface
This guide explains how to install and configure the UrantixInterface script on your Fivem Server.
Resource
Version
Links
Config = {
Editable = { -- You can adapt everything in "./public"
Framework = "qbcore", -- esx, qbcore
Language = "en", -- es
Notify = "UrantixInterface", -- UrantixInterface, ox_lib, qbcore, esx
Voice = "pma-voice", -- pma-voice
},
Init = {
HideHudCommand = "toggleinterface", -- Command to hide the UI
MinimapOnFoot = false, -- Make it so that while you are on foot, you have the minimap activated.
},
Status = {
min_show = {
health = '49',
armor = '1',
hunger = '49',
thirst = '49',
stamina = '75',
oxygen = '99',
}
},
Components = {
Logo = true,
Info = true,
Status = true,
VoiceUI = true,
CarHud = true,
Notify = true,
TextUI = true,
Progressbar = true,
DeathUI = true,
WeaponUI = true,
},
Logo = {
Url = "",
},
CarHud = {
SeatBeltKey = "B",
LimiterKey = "L",
DriftKey = "K",
CruiseKey = "N",
PutBeltSound = true, -- Make a sound for you and the people around you when you put on your seatbelt.
},
Notify = {
Type = {
primary = { icon = 'https://cdn.lordicon.com/vspbqszr.json' },
info = { icon = 'https://cdn.lordicon.com/yxczfiyc.json' },
success = { icon = 'https://cdn.lordicon.com/oqdmuxru.json' },
error = { icon = 'https://cdn.lordicon.com/nqtddedc.json' },
warning = { icon = 'https://cdn.lordicon.com/vihyezfv.json' },
},
Color = {
['~w~'] = { type = 'color', replace = 'rgba(206, 206, 206, 1)' },
['~r~'] = { type = 'color', replace = 'rgba(255, 0, 0, 1)' },
['~g~'] = { type = 'color', replace = 'rgba(37, 211, 102,1)' },
['~b~'] = { type = 'color', replace = 'rgba(29, 161, 242,1)' },
['~y~'] = { type = 'color', replace = 'rgba(255, 255, 0, 1)' },
['~p~'] = { type = 'color', replace = 'rgba(114, 137, 218, 1)' },
['~o~'] = { type = 'color', replace = 'rgba(255, 127, 0, 1)' },
['~c~'] = { type = 'color', replace = 'rgba(0, 255, 255, 1)' },
['~m~'] = { type = 'color', replace = 'rgba(255, 0, 255, 1)', },
['~u~'] = { type = 'color', replace = 'rgba(0, 0, 255, 1)' },
['~s~'] = { type = 'end', replace = '</span>' },
['\n'] = { type = 'end', replace = '<br>' },
},
},
}Last updated