Configuration
Here you will see the configuration of our script, follow the correct guide, if you don't understand something you can enter our official discord.
all configuration files are located in the folder named configs/*.lua
Framework
To configure our framework we will have a file called framework.lua, here we will have many options to adapt to our server, you have to make sure to put everything to measure so that the script works perfectly.
Lang
In the lang.lua file we can configure all the script language, including notify, menus and more. Keep in mind that the html has to be translated using its own file.
Main
Here we can see the code that places the interaction points, the first block is to configure the boss menu point as you can see each block has an “event”.
Config.Interacts = {
[1] = { --Boss Menu
coords = vector3(-185.4493, -1165.2311, 23.6714),
interact_key = 38,
interact_distance = 1.5,
label = "Press ~r~E~s~ to see the ~p~boss laptop",
event = "bossMenu"
},
[2] = { --Garage
coords = vector3(-209.0689, -1169.1265, 23.0101),
interact_key = 38,
interact_distance = 1.5,
label = "Press ~r~E~s~ request ~p~Tow truck",
event = "garage"
},
--Parking Events
[3] = { --Garage
coords = vector3(-131.7465, -1178.6115, 23.3460),
interact_key = 38,
interact_distance = 1.5,
label = "Press ~r~E~s~ parking ~p~Vehicle",
event = "parking",
type_parking = "parking_1",
},
}
Then in the second block we have the garage that its event is “garage” here we will put the coordinates to interact with the garage. ATTENTION: you will also have to configure the spawn coordinates of the vehicle which is in Config.Garage = { model = “towtruck”, coords_spawn = vector4(-209.0689, -1169.1265, 23.0101, 88.4970), }
Finally we have the event of “parking” here we can add all the points where you can leave parked vehicles of people, it is important to put these points with a distance of 5 to 6 meters to avoid collisions.
Extras
Here we can see if the car will be fried and loked at the time of impounding.
Config.FreezeEntityPosition = false
Config.VehicleLock = false
Last updated