[Release] Witnesses

Description

This script will transform nearby NPCs into witnesses when you shoot at other NPCs or players and notify law enforcement.

An NPC will only become a witness if they are within 25 feet on the player. The player has ~30 seconds to kill the witness before a notification is sent to law enforcement. Law enforcement will see a yellow marker covering the general area the player was shooting within.

Had to do quite a few workarounds on this version so, uh, don’t judge the methodology.

Check out the preview: https://streamable.com/vjmew0

Installation:

  • Extract redm-witnesses into your resources folder
  • Start redm-witnesses in your server.cfg

Download:

Any issues, give me a shout.

4 Likes

This is a good release :+1:

2 Likes

Thanks… although what you have shared will not work. The notification is there to notify any sheriffs of the shots, but your methodology only notifies the player who shot the gun if they are a sheriff. I have updated the readme with a code snippet for anyone wanting to use this resource with VORP instead of RedemRP: https://github.com/DarrenJDocherty/RedM-Witnesses/blob/master/README.md/.