Skip to content

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

Notifications You must be signed in to change notification settings

Yorick20022/yorick-antilag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published