config.lua
Language
Go to Config.Framework
Go to Config.Locale
Available Languages
de (German)
en (English)
Add Custom Language
For adding your custom language you have to edit two files
config.lua
/html/js/locale/translation.js
config.lua
You need to add your language in following data:
Config.NoSystemText
Config.FixedZonesText
Config.NuiNotReadyText
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.MOT_Validity
Configure how long a MOT is valid when passed.
num
Amount of Days/Weeks/Months/Years to next MOT
type
Possible Types:
d
days
w
weeks
m
months
y
years
if invalid data is set the value for days is picked.
Every time is Real-Life time.
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
x = how wide the marker should be
y = how high the marker should be
z = how far from the ground the marker should be
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