Agents can also search and read this documentation through its MCP server.
Config
config.usingFramework
Select the framework your server is running with config.usingFramework.
config.usingFramework = "qb" -- "esx", "qb", "custom"
Settings
| Value | Description |
|---|---|
qb |
Uses QBCore for items, notifications and progress bars. |
esx |
Uses ESX for items, notifications and progress bars. |
custom |
Lets you add your own framework in the open areas of config.lua and server/open_server.lua. |
config.UpdateCheck
Checks for a new version when the resource starts and prints the result to the server console.
config.UpdateCheck = true
config.locale
Select the language used by the script with config.locale. The value must match one of the keys inside config.Locale.
config.locale = "en_US"
Config Controls
These values define the keys used by the script. Each value is a FiveM control index.
config.twoStepControl = 21 -- Left Shift
config.carjack_carrybtn = 38 -- E
config.carjack_getbackbtn = 23 -- F
config.carjack_useincartire = 74 -- H
Settings
| Option | Description |
|---|---|
config.twoStepControl |
Key held in the vehicle to engage the two-step / anti-lag. |
config.carjack_carrybtn |
Key used to carry the car jack. |
config.carjack_getbackbtn |
Key used to collect the car jack. |
config.carjack_useincartire |
Key used to use the car jack on a vehicle. |
Config Progress Times
These values define how long each action takes, in milliseconds.
config.carjackbuildtime = 2500
config.carjackgetbacktime = 2500
config.usecarjackincartire = 5000
Settings
| Option | Description |
|---|---|
config.carjackbuildtime |
Time it takes to set up the car jack. |
config.carjackgetbacktime |
Time it takes to collect the car jack. |
config.usecarjackincartire |
Time it takes to use the car jack on a vehicle. |
config.TwoStepCars
List of vehicles that are allowed to use the two-step / anti-lag. Add the spawn name of every vehicle you want to support.
config.TwoStepCars = {
"jugular",
"t20",
}
Config Item Names
Item names used by the script.
Warning: The names here must be the same as the names the items are registered with on your server, otherwise the items will not be usable.
config.CarjackItemName = "carjack"
config.AntilagItemName = "antilag_set"
Settings
| Option | Description |
|---|---|
config.CarjackItemName |
Item used to raise the vehicle before fitting the anti-lag. |
config.AntilagItemName |
Anti-lag kit item that is installed on the raised vehicle. |
config.Locale
These values define every text label and notification used by the script. You can freely customize them or add a new language by copying one of the blocks and changing its key.
config.Locale = {
["en_US"] = {
["not_authorized"] = "You are not allowed to use this!",
["antilag_enabled"] = "Anti-Lag has been Enabled!",
["antilag_disabled"] = "Anti-Lag has been Disabled!",
["use_carjack"] = "Use Jack",
["getback_carjack"] = "Collect Jack",
["using_carjack"] = "Using a Jack...",
["process_canceled"] = "The transaction is canceled!",
["carjack_getback"] = "The Jack Recovers...",
["carry_carjack"] = "Move the Jack",
["getback_usecarjack"] = "Use the Jack",
["carjack_carrybtn"] = "[E]",
["carjack_getbackbtn"] = "[F]",
["carjack_usecaritre"] = "[H]",
["ofyourhand_carjack"] = "Drop the Jack",
["carislower"] = "Vehicle Lowering",
["carislowerr"] = "Lower Car",
["setantilag"] = "Placing Antilag",
["setantilagg"] = "Place Antilag",
["carisallready_carjack"] = "This tool has already been removed",
["lowercar"] = "Lower Car",
["SetAntilag"] = "Place antilag",
},
}
Locale Fields
| Key | Description |
|---|---|
not_authorized |
Message shown when a player is not allowed to use the system. |
antilag_enabled |
Notification shown when the anti-lag is enabled. |
antilag_disabled |
Notification shown when the anti-lag is disabled. |
use_carjack |
Prompt text for using the car jack. |
getback_carjack |
Prompt text for collecting the car jack. |
using_carjack |
Progress bar text while the car jack is being set up. |
process_canceled |
Notification shown when an action is canceled. |
carjack_getback |
Progress bar text while the car jack is being collected. |
carry_carjack |
Prompt text for carrying the car jack. |
getback_usecarjack |
Prompt text for using the carried car jack. |
carjack_carrybtn |
Key label shown for the carry action. |
carjack_getbackbtn |
Key label shown for the collect action. |
carjack_usecaritre |
Key label shown for the use-on-vehicle action. |
ofyourhand_carjack |
Prompt text for dropping the car jack. |
carislower |
Progress bar text while the vehicle is being lowered. |
carislowerr |
Progress bar title for lowering the vehicle. |
setantilag |
Progress bar text while the anti-lag is being installed. |
setantilagg |
Progress bar title for installing the anti-lag. |
carisallready_carjack |
Message shown when the vehicle is already raised. |
lowercar |
Prompt text for lowering the vehicle. |
SetAntilag |
Prompt text for installing the anti-lag. |
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto page URLs; this page is available as Markdown.