config.lua

Language

  1. Go to Config.Framework

  2. Go to Config.Locale

  3. Available Languages

    1. de (German)

    2. en (English)

Add Custom Language

For adding your custom language you have to edit two files

  1. config.lua

  2. /html/js/locale/translation.js

config.lua

You need to add your language in following data:

  1. Config.NoSystemText

  2. Config.FixedZonesText

  3. Config.NuiNotReadyText

  4. Config.NuiNowReadyText

translations.js

You need to copy the en or de part and make your translations..

Config.Framework

do not change this at all, the script will automaticaly find the framework

Config.UseMotDateFromMyMechanicMDT

set to true if you want the cops to the the MOT date from the myMechanicMDT (Police only)

Dependency: myMechanicMDT

  • Entry is searched via Plate

Config.showLastMotDetailFromMyMechanicMDT

set to true if you want the cops to the the MOT Details from the myMechanicMDT (Police only)

Dependency: myMechanicMDT

  • Entry is searched via Plate

Config.showPartAcceptanceFromMyMechanicMDT

set to true if you want the cops to the the Part-Acceptance List from the myMechanicMDT (Police only)

Dependency: myMechanicMDT

  • Entry is searched via Plate

Config.UseWeaponRegister

set to true if you want to add the weapon register to the police system (maybe useful if you got an inventory with metadata)

Config.UseMyImpound

If you have the script myImpound you can set this to true to see the impounded vehicles in the mdt

myEmergency checks if the script is running, make sure that myImpound is started before!

Config.UseMyProperty

If you have the script myProperties you can set this to true to see all Properties for an Person

myEmergency checks if the script is running, make sure that myImpound is started before!

If you want to use this the File-Sync must be active!

Config.UseMySpeedcam

If you have the script mySpeedcam you can set this to true to see the current active mobile cams and the profits of the Speedcams in the mdt

myEmergency checks if the script is running, make sure that myImpound is started before!

Open via Fixed Zone

Config.UseFixedZones

If this is set to true there will be markers to open the tablet, configured in Config.FixedZones

if this is set to false there won’t be any markers

Config.DrawMarkerDistance

The distance from which the marker is displayed is defined here.

Always use XX.X the decimal point is necessary.

Config.EnteredMarkerDistance

The distance from which the message appears to open the tablet when you come closer to the marker

Always use XX.X the decimal point is necessary.

Config.FixedZonesMarkerCfg

Simply the DrawMarker - FiveM Natives @ Cfx.re Docs in kinda more simple.

type = Type of marker, find here Markers - Cfx.re Docs (fivem.net)

x = how wide the marker should be

y = how high the marker should be

z = how far from the ground the marker should be

r = red parts (for color - color picker here HTML Color Picker (w3schools.com))

g = green parts (for color - color picker here HTML Color Picker (w3schools.com))

b = blue parts (for color - color picker here HTML Color Picker (w3schools.com))

a = alpha (transparency)

rotate = should the marker spin? true or false

Config.FixedZones

Here you can add coordinates to open the tablet

there are two exampley configured in the default config.lua.

Config.RadioHUD

Position

vertical

You can choose right, left, middle here for vertical alignment on the screen

horizontal

You can choose top, bottom, middle here for horizontal alignment on the screen

extraMargins

here you can add some space to the radio hud

top

Extra space in percentage from the top, only works if horizontal is not middle

left

Extra space in percentage from the left, only works if vertical is not middle

bottom

Extra space in percentage from the bottom, only works if horizontal is not middle

right

Extra space in percentage from the right, only works if vertical is not middle

Last updated