Skip to content

Usage

This section explains how to use the ‘Electric Baton’ script once installed on your FiveM server.

  • The script starts automatically when the server starts if you have correctly added it in the server.cfg file with the line: ensure ‘electric_baton’
  • No manual restart is necessary after installation, unless you modify the script configuration.
  • /electric_baton
    Description: Toggles the electric mode of the baton on or off

Usage example:

  • /electric_baton
  • When the baton is equipped, you can activate or deactivate the electricity at any time with the /electric_baton command or via the predefined key in the configuration.
  • Once electricity is activated, hitting a player with the baton triggers a shock effect: the target is immobilized and falls to the ground for a few seconds, simulating a paralysis effect similar to a taser.
  • If the baton is deactivated, it works as a normal baton without electric effect.
  • The paralysis duration is configurable in the configuration file.
  • The default or custom effect is configurable in the configuration file.