Yorick20022 / yorick-antilag

This script makes it possible to have antilag or "twostep" in your FiveM server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yorick-antilag

This script enables antilag and "twostep" functionality in your FiveM server.
There is a file config.lua which you can use to add new cars to the config or to modify existing values!

Configuration

In addition to enabling antilag, you can also configure the following options:

  • explosionSpeed: The speed at which the explosion is created. Default value is 250.
  • Cars: This cars in this array have the possibility to use the functionality of the script.
  • flameSize: The size of the flames. Default is 1.5.
  • RPM: The amount of RPM needed until the antilag is triggered.

Commands

  • /antilag This is a command that makes it possible to turn off the functionality of the script for that client.

Custom audio

  • The script uses custom audio files that are played using NUI.

Usage

To use antilag in your FiveM server, simply start the yorick-antilag resource, ensure yorick-antilag. By default, the antilag effect is triggered when the driver of the vehicle releases the W key when the car reaches a specific amount of RPM.

About

This script makes it possible to have antilag or "twostep" in your FiveM server.


Languages

Language:Lua 85.9%Language:HTML 14.1%