Agents can also search and read this documentation through its MCP server.
Installation
Installation
General Setup
- Extract the resource into your server's
resourcesfolder. - Make sure the folder name is strictly
hkn_antilag. - Open your
server.cfg. - Make sure your framework is started before this script.
- Add the following line:
ensure qb-core # or es_extended
ensure hkn_antilag
Items
The script uses two items. Register both of them in your framework / inventory with the same names you set in config.CarjackItemName and config.AntilagItemName.
| Item | Description |
|---|---|
carjack |
Used to raise the vehicle before fitting the anti-lag. |
antilag_set |
The anti-lag kit that is installed on the raised vehicle. |
Configuration
Below are all available configuration options for hkn_antilag.
Framework
Select the framework your server is running.
config.usingFramework = "qb" -- "esx", "qb", "custom"
Update Check
Enable or disable the version check on resource start.
config.UpdateCheck = true
Language
Select the language used for notifications and prompts.
config.locale = "en_US"
Controls
Change the keys used for the two-step and the car jack.
config.twoStepControl = 21 -- Left Shift
config.carjack_carrybtn = 38 -- E
config.carjack_getbackbtn = 23 -- F
config.carjack_useincartire = 74 -- H
Options
| Setting | Description |
|---|---|
twoStepControl |
Key held in the vehicle to engage the two-step / anti-lag. |
carjack_carrybtn |
Key used to carry the car jack. |
carjack_getbackbtn |
Key used to collect the car jack. |
carjack_useincartire |
Key used to use the car jack on a vehicle. |
Progress Times
Duration of each action in milliseconds.
config.carjackbuildtime = 2500
config.carjackgetbacktime = 2500
config.usecarjackincartire = 5000
Allowed Vehicles
Only the vehicles in this list can use the two-step / anti-lag.
config.TwoStepCars = {
"jugular",
"t20",
}
Item Names
The names here must be the same as the names the items are registered with on your server.
config.CarjackItemName = "carjack"
config.AntilagItemName = "antilag_set"
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.