Config
and server functions, configuration methods and more.
Ensure all convars are properly set in your server.cfg before starting the resource.
setr prism:primaryColor "#BEEE11"Set the primary color of the UI
setr prism:disabledComponents {
"textUI": false,
"notify": false,
"progressBar": false,
"radial": false,
"skillCheck": false,
"inputDialog": false,
"contextMenu": false,
"alertDialog": false,
"listMenu": false
}Disable specific UI Components
If disabled, we will not overwrite the functions to our own. So for example you will be able to use the ox_libโs version of that specific ui component.
setr prism:locale "en"Set a custom locale
Check the
/localesfolder to check out our current locales, or create your own one.To create support for your own language, you just have to create a file named (e.g)
language.lua, do the translations (just duplicate the en.lua file and translate) and set yourprism:localeconvar tolanguage
setr prism:debug 1Toggle the debug mode. 1 = enabled, 0 = disabled.
If enabled, you will get debug prints in console. (May help with support in the future)
setr prism:notificationDuration 3000Set the default notification duration. If a custom duration has been specified with code, then this gets skippe
setr prism:progressCancelKey "X"Set the cancel key of the progressbar
setr prism:notificationPosition "top-center"Set the default notification position. If a custom position has been specified with code, then this gets skipped
setr prism:textUIPosition "center-left"Set the default TextUI position. If a custom position has been specified with code, then this gets skipped
setr prism:progressBar "primary"
primaryorsecondaryDefault progressBar variant If a custom variant has been specified with code, then this gets skipped.
setr prism:radialOpenMode "press"
pressorholdDefault Radial Menu open mode. If hold, the radial menu will stay open until the user releases the open key.
setr prism:radialOpenKey "z"Radial open key. Change to any key youโd like. Note: you have to delete the bind in GTA V Settings if you are changing the key after already joining your server with our resource.