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

# Config Script

**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&#x20;

`Config.UseEsxHUD = false`

`Config.UseEsxStatusBar = false`

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2F7H1uVgpruknGnInKjRL2%2Fimage.png?alt=media&#x26;token=736ebfb0-0a24-4e37-8aa0-de79f960febd" alt=""><figcaption></figcaption></figure>

## **Admin ACE-System:**

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2F3VzcR4BuhFjjJpRgiqUc%2Fimage.png?alt=media&#x26;token=e9614187-928c-419c-8855-f04c22260d1b" alt=""><figcaption></figcaption></figure>

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

<pre class="language-properties"><code class="lang-properties">add_ace group.admin gmd.entry allow
add_principal identifier.license:<a data-footnote-ref href="#user-content-fn-1">ROCKSTAR-LICENSE</a> group.admin
</code></pre>

## Disable/enable ingame ask:

go in config.js and swap&#x20;

```javascript
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

![](https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FnsXj1m5ICCiTA3zJYHDk%2Fimage.png?alt=media\&token=04fc74a2-8396-44d0-b995-ce1410605e69)

##

## Rename adminSkin:

if you want to change the adminskin names follow these steps

search via Visual StudioCode admin1 and rename it&#x20;

<div align="left"><figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FeGi18ms5P8LnydGlPVT6%2Fimage.png?alt=media&#x26;token=a194ece9-4a88-42ab-9245-15b157b70b55" alt=""><figcaption></figcaption></figure></div>

## **Add adminSkins:**

to create more adminentry skins follow these steps

go in config.lua and add 167 new tables

before:

![](https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FqNp1H3vn6SyvXhwBkZI6%2Fimage.png?alt=media\&token=46e7a15d-88b5-4c14-924d-12ebde69b111)

like that:

![](https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FwExYbOO71maiadkASYLy%2Fimage.png?alt=media\&token=48ef08d2-5b05-47b6-8f80-208c29bdfeec)



## **Revise UI translation:**

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FdeStCtGDimmae01WZPO3%2Fimage.png?alt=media&#x26;token=7c810fc8-0d2d-438b-a8a9-c2e03f13293e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FoPuyNQVGheOVPQA8ySij%2Fimage.png?alt=media&#x26;token=fab44bcf-45ed-41f5-a843-1b25722b5d3e" alt=""><figcaption></figcaption></figure>

## Add ingame rule querys:

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FW6RvYVsLqepijE0U92Nh%2Fimage.png?alt=media&#x26;token=2b460443-ab4b-4473-a014-3e0421b2019d" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FoEAZbkNls7Pdu4VmLp2X%2Fimage.png?alt=media&#x26;token=fd0a4b83-7668-4e1b-acf3-d4f96abd2f02" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://355685288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9l40cW5bMeovJJryQuA1%2Fuploads%2FQC2Z6B8sWrNFISCeX0Xs%2Fimage.png?alt=media&#x26;token=30ba388d-118b-43b1-a554-a6f2c1bb8a48" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">**thats it Enjoy my script and have fun!!!**</mark>



[^1]: 
