Configuration
config.lua
Tip
The framework is autodetected but you can change it to a custom one in the shared editable.
Tip
You can also edit part of the client side and server side in the shared folder for more compatibility or to change things to your liking.
Client Side Editable: /shared/cl_editable.lua
config.luaLua
Config = {}
Config.Debug = false
Config.DrawDistance = 5.0
Config.MarkerColor = {r = 255, g = 100, b = 0, a = 255}
Config.Songs = {
CloseDoor = {
Enabled = true,
Volume = 0.3,
Song = 'closeliftdoor' -- (the names without .ogg ) You can change this song in thee resource interact-sound/client/html/sounds
},
AlertSong = {
Enabled = true,
Volume = 0.3,
Song = 'liftalarm' -- (the names without .ogg ) You can change this song in thee resource interact-sound/client/html/sounds
}
}
Config.Lifts = {
['Security-1'] = {
[1] = {
FloorName = 'Ground Floor',
Floor = vector4(-589.3970, -708.0062, 36.2794, 358.5822),
RequireJob = { 'police', 'ambulance' } -- You can set this format to run multiple jobs or just one job. for example: {'police'} or {'police', 'ambulance'}
},
[2] = {
FloorName = 'Office',
Floor = vector4(-574.5282, -715.7551, 113.0053, 89.9830),
RequireJob = nil --- If you leave this value at nil, it will not have that lift whitelist.
}
}
}
Config.Translation = {
['you_current_floor'] = 'You are already on the %s floor',
['press_e'] = 'Press ~g~[E] ~w~to interact',
['you_dont_have_permissions'] = 'You are not an employee of this place'
}