⚙️Config Script

here you will find all config options that i personally consider important. all other configs are described in config.lua

Settingup you HUD:

To hide your own HUD and the statusbar as well as other HUDs you have to go to loops-cl.lua from line 54 and enter there your events or exports from your HUD and in the Config.lua go to

Config.UseEsxHUD = false

Config.UseEsxStatusBar = false

Admin ACE-System:

the ace queries in the code are needed so that only certain team members have access to the entry.

to give someone ace rights you have to add the following to your server.cfg and to the bottom of it

add_ace group.admin gmd.entry allow
add_principal identifier.license: group.admin

Disable/enable ingame ask:

go in config.js and swap

GMDEntry.UseIngameRules = true

if this is true an ingame ruleset query is made if this is false no ingame ruleset query is started

Add own AdminComand Clothes:

in config.lua you can add more skin commands and give each beam an own skin (you can also change the table name as e.g. admin1 = GMD-Skin) but note that you need adjustments in the code

Rename adminSkin:

if you want to change the adminskin names follow these steps

search via Visual StudioCode admin1 and rename it

Add adminSkins:

to create more adminentry skins follow these steps

go in config.lua and add 167 new tables

before:

like that:

Revise UI translation:

go to the language.js and add another table there accordingly also adapt Language.Using above or simply translate it

after that you only have to go to the index.html there you can change 4 texts the rest will be translated automatically

Add ingame rule querys:

go to NUI/script/questions.js there you can create more questions or rename them as you like

if you want to add more questions or change the correct answers from wrong ones, make sure you change the following in NUI/scripts/scripts.js

also make sure that in the NUI/script/language.js you adjust this in the strong divs

thats it Enjoy my script and have fun!!!

Last updated