KnifeArch - London Studios

Downloads: 777 | Uploaded: 06. Apr 2021

(0)
Free download ScriptsKnifeArch LondonStudios C# Metal Detector

Description

KnifeArch is a FiveM resource allowing you to setup walk-through metal detectors which can be triggered by other players, alerting you and playing an external, custom sound as it is activated.

The time has come, you are now able to run knife arch operations and ensure that players are not carrying anything they shouldn't be!

The included model has been taken from the DLC Casino Heist, and re textured.

This plugin is made by LondonStudios, we have created a variety of releases including TaserFramework, SearchHandler, ActivateAlarm, SmartTester, SmartSounds, CustodyAlarm, SmartObservations and more!

Join our Discord here for exclusive plugin previews.

Video demo: here.

Usage

/arch [setup/remove] - Setup or remove a knife arch at your location.

/archdetect [true/false] - Set whether you will activate the arch when walking through. If DetectedWeapons is not empty in the configuration, it will detect the specified weapons regardless if this is turned on or off.

The /arch command is able to use AcePermissions, this must be enabled in "config.ini".

The included Activation sound will play upon another player activating the metal detector.

You are only able to remove knife arches you have created and you may only setup one at a time.

Installation

1. Create a new resource folder on your server.

2. Add the contents of "resource" inside it. This includes:

"Client.net.dll", "Server.net.dll", "fxmanifest.lua", "html", "stream", "config.ini", "SharpConfig.dll"

  1. In server.cfg, "ensure" KnifeArch, to make it load with your server startup.

Configuration

The "config.ini" file allows you to enable permissions for the /arch command, which means you will have to give players access in your Server.cfg or another whitelisting method.

```

[KnifeArch]

PermissionsEnabled = false

SoundVolume = 0.6

SoundRadius = 30.0

DetectedWeapons = { weapondagger, weaponmachete, weapon_knife }

```

On line 2, you can set PermissionsEnabled to "true" or "false. The /archdetect command is not included in this.

On line 3, you can set the SoundVolume, this must be below 1.0.

On line 4, you can set the SoundRadius, we recommend keeping this at 30.0.

On line 5, you can set the DetectedWeapons, this is an array of weapon names. Set to { } to disable detection of weapons automatically.

Source Code

Please find the source code in the "src" folder. Please ensure you follow the licence in "LICENCE.md".

Feedback

We appreciate feedback, bugs and suggestions related to KnifeArch and future plugins. We hope you enjoy using the resource and look forward to hearing from people!

Other mods from this creator

https://storage.fivemods.net/uploads/1/hfgU5Qz73v4H/img/43PF51glKwR0JyUG7jzx1.png-Image (display)
What3Words (W3W)

This free resource is a great addition to any roleplay server, allowing the use of What3Words inside FiveM. Instead of coordinates...

https://storage.fivemods.net/uploads/1/RjqgtpiQW9s5/img/BD1w4WkJHc0VXNFRUfIi7.png-Image (display)
CustodyAlarm - London Studios

CustodyAlarm is a **FiveM** resource allowing you to activate custody alarms at custody stations. The locations can be fully custo...

https://storage.fivemods.net/uploads/1/Ao7Z5ycabErB/img/yznZMkJAD1ibmLx6Fov97.png-Image (display)
SearchHandler - London Studios

This plugin is designed to enhance the player search experience for your FiveM server, a simple resource allowing players to set t...

https://storage.fivemods.net/uploads/1/TrMyFQzUvuxl/img/SiCcQDEKF6bR2nm4GaLH7.png-Image (display)
SmartSounds - London Studios

**SmartSounds** is a FiveM resource allowing you to play custom sounds in-game to players nearby, featuring an easy to configure "...

https://storage.fivemods.net/uploads/1/MBs68Q5qnelP/img/o465cFg9S1VLOWHyfnrv7.png-Image (display)
SmartTester - London Studios

SmartObservations is a FiveM resource enhancing the roadside testing experience. The resource includes a customisable **Bre...

https://storage.fivemods.net/uploads/1/bIUsWqA9D1uz/img/Ng5YwCLf2jqQivOB7Z687.png-Image (display)
Play Custom Sounds - London Studios

**PlayCustomSounds** is a standalone FiveM Resource allowing you to play external sounds in your FiveM server from other resources...

https://storage.fivemods.net/uploads/1/NPZY4tzcDQiF/img/S6IvZeG9wTgkLoUa2s1N7.png-Image (display)
SmartObservations - London Studios

SmartObservations is a FiveM resource which enhances the experience of taking and working with **medical observations** (eg, Heart...

https://storage.fivemods.net/uploads/1/nCafPcDXOjt6/img/yD8vji1NRwLB9Ugzkhe0l.jpg-Image (display)
Police Handbook

This modification implements a British Police Handbook into FiveM (Server Side). The command /handbook is used to display a list o...

https://storage.fivemods.net/uploads/1/NGDOafM6lpZb/img/wHlxLkV2UgGsbA5fzDCZ7.png-Image (display)
Vehicle Objects - London Studios

**Vehicle Objects** is a FiveM resource allowing you to add objects such as learner plates, pass plates and parking tickets...