- Grab the latest release from Releases
- Extract the zip to your resources folder
- Copy the
ui/build/flitsmeister.png
tolb-phone/ui/assets/img/icons/apps/
- Add the following code to your
lb-phone/config/config.lua
in theConfig.CustomApps
table:["flitsmeister"] = { name = "Flitsmeister", description = "Flitsmeister is een app die je helpt om snelheidscontroles te ontwijken.", ui = "flitsmeister-app/ui/build/index.html", onUse = function() exports['flitsmeister-app']:SetListening(true) end }
- All done 🎉
Using the exports["flitsmeister-app"]:AddSpeedCameras()
function you'll be able to add your own speed cameras to the app.
An example of how to add a speed camera is provided below:
exports["flitsmeister-app"]:AddSpeedCameras({
[1] = {
['Coords'] = vector3(2526.224, 2719.912, 43.38318),
['MaxSpeed'] = 80
}
})
The app needs to be opened once before it automatically listens for nearby speed cameras.
Make sure the resource is named flitsmeister-app
otherwise some features might not work as expected.