Installation
Follow these steps to properly install the script on GTA 5.
Prerequisites
Section titled “Prerequisites”- A functioning FiveM server (local or hosted).
- Access to server files (via FTP or directly on your machine).
Installation steps
Section titled “Installation steps”-
Download the script
Retrieve the script folder (usually in .zip or .rar format) from the official source. -
Unzip the folder
Use a tool like WinRAR or 7-Zip to extract the script folder onto your computer. -
Place the folder in the
resources
directory
Copy the script folder into your FiveM server’sresources
folder (for example:resources/[myServer]/mini_tazer
). -
Declare the script in
server.cfg
Open theserver.cfg
file at your server’s root and add the following line:ensure 'mini_tazer'
-
Configure the script
Modify the configuration fileconfig.lua
. Change it according to your needs before starting the server. (See Configuration) -
Add the weapon to your inventory
Make sure to do this via your inventory system. The weapon name is found in/client/weaponName.lua
=> WEAPON_STUNGUN2. The weapon image is in the/shared/
folder. -
Restart the server
Restart your FiveM server so that the script is properly loaded.
Check that the script folder contains a fxmanifest.lua
file — this is essential for FiveM to recognize the script.