Skip to content

redenciondev/Malechores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Advanced Witness System for Police in RedM

## Description

This project is an advanced witness system for police in RedM, designed to integrate with VorpCore. It allows players to set coordinates, create temporary blips, and send notifications to police officers in the game.

**Note: This script is not finished and requires some adjustments.**

## Features

- **Save Coordinates**: Players can save and update coordinates.
- **Create Temporary Blips**: Create blips on the map that automatically remove after a certain time.
- **Notifications**: Send notifications to police officers with relevant information.
- **User Interface**: An interactive user interface to send witness descriptions.
- **Cooldown System**: Cooldown system to prevent abuse of the witness command.
- **Randomized Alerts**: The police receive a total of 3 alerts. The first alert is mandatory and includes the coordinates of the subjects. For the second and third alerts, 
    the system rolls a die. If the result is less than 3, the police receive nothing; if it is greater than 3, the police receive the coordinates.
- **Immediate Alerts in Cities**: If the subject passes through cities within their radius, the police receive an immediate alert of their position. This is active during the 10-minute pursuit duration.

## Project Structure

## Installation

1. Clone this repository to your RedM server.
2. Add the resource to your `server.cfg`:
    ```
    ensure resource_name
    ```
3. Configure the cities and other parameters in `shared/config.lua`.

## Usage

- **Save Coordinates**: Use the event `malechores:guardarCoords` to save coordinates.
- **Create Blips**: Press the DOWN key to create a blip at the saved coordinates.
- **Delete Blips**: Press the UP key to delete all active blips.
- **Send Witness**: Use the user interface to send witness descriptions.

## Contributions

Contributions are welcome! If you wish to contribute, please fork the repository and create a pull request with your changes.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Author

- **Zowix** - *Lead Developer*

---

Thank you for using the Advanced Witness System for Police in RedM!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published