/esx_payday

esx robbery script

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

ESX Store Robbery Script

Features

  • Configurable Robbery Time: Set the duration of store robberies according to your server's preferences.
  • Discord Webhooks: Receive notifications and updates about ongoing store robberies on your Discord server.
  • Police Notification: A countdown notifies law enforcement when a store is being robbed, adding an element of realism and challenge to the gameplay.

Installation

  1. Download the script from the GitHub repository.
  2. Extract the contents of the ZIP file into your server's resources folder.
  3. Add start esx_payday to your server.cfg file. Docs: https://docs.zapsdev.com/c/fivem/payday

Configuration

To configure the ESX Store Robbery script, follow these steps:

  1. Open the config.lua file.
  2. Adjust the RobberyTime variable to set the duration of store robberies.
  3. Configure Discord webhooks by filling in the necessary information in the DiscordWebhook section.
  4. Customize other settings to suit your server's needs.

Usage

  1. In-game, approach a store that is eligible for robbery.
  2. Begin the robbery by interacting with the store's prompts.
  3. The countdown will start, and Discord notifications will be sent to the configured channel.
  4. Police will be alerted, and it's up to the players to complete the robbery before they arrive.

Feedback and Support

Your feedback is important to us! If you encounter any issues or have suggestions for improvement, please don't hesitate to report them on GitHub.

For additional support or questions, you can reach out to our community on Discord.

License

This project is licensed under the GNU General Public License (GPL). Please refer to the license file included with this script for more details.