Hazza Cop Robbery is a lightweight FiveM script using qb-core that allows players to rob cops from random locations with configurable settings for rewards and cooldowns.
Preview is cop perspective, so you can see the alert
Installation Instructions
1. Download the script from the GitHub repository.
2. Extract the downloaded file and copy the "hazza-coprobbery" folder to your FiveM server's resources folder.
3. Open your server.cfg file and add the following line: ensure or start hazza-coprobbery
4. Save the server.cfg file and start your FiveM server.
Usage
To use the Hazza Cop Robbery script in-game, players must first locate a cop in a random location within the game world. Once a cop is found, players can initiate the robbery by clicking the required key when prompted. The script will then generate a randomized reward for the player, either in the form of items or cash, and apply a cooldown period to prevent immediate reuse of the command.
Customization
The script is highly customizable, with various settings that can be configured to suit your server's needs. Here are some of the configurable settings:
• Cooldown Time: This setting determines the amount of time between each use of the robbery. The default value is 600 seconds.
• Cash Reward Range: This setting determines the range of cash rewards that can be generated by the script. The default range is between 1 and 3 marked bills.
• Item Reward List: This setting determines the list of items that can be rewarded to players. The default list includes items such as weapons, chains, and watches.
These settings can be modified.
Troubleshooting
If you encounter any issues with the script, here are some troubleshooting steps you can try:
Check that the script is properly installed and started in your server.cfg file. Ensure that all required dependencies, such as qb-core, are installed and working correctly. Verify that the script's configuration settings are correct and match your server's specifications. Contact the script's developer for additional support or assistance. We hope you enjoy using Hazza Cop Robbery and that it adds an exciting new element to your FiveM gaming experience!
QBCore Framework
Copyright (C) 2021 Joshua Eger
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>