Configuration
Framework
The script should automatically detect your framework. If it doesn't, you can set it manually by setting Config.Framework
to your framework, either "esx"
or "qb"
.
Visibility
You can configure what information is visible to the player when searching vehicles and players by editing Config.VisibleInformation
.
Hide people and vehicles
You can hide people and vehicles that should not show up in the search results by editing Config.HiddenPersons
and Config.HiddenVehicles
.
Hide people
To hide people, add their identifiers to the Config.HiddenPersons
table. Use the identifier that is used in the users
/players
table in your database.
Hide vehicles
To hide vehicles, add their license plates to the Config.HiddenVehicles
table.
Translate
To translate the script, edit the Locales
table in the locales.lua
file. You can add new languages by copying an existing language and translating the strings. Make sure to update Config.Locale
as well.