ActivateAlarm - LondonStudios - FiveMods
Goodbye, old look! Hello, new look!
We would like to inform you that FiveMods implemented exciting updates and improvements to enhance your experience on the new released rework.
Visit us here: www.fivemods.net.
This website is only accessible with limited features. Restricted features: Upload, Login, Partner program



ActivateAlarm - LondonStudios

Downloads: 673 | Uploaded: 14. Apr 2021

(0)
免費下載 ScriptsAlarm Sounds C# LondonStudios

簡介

A FiveM resource used to activate a custom alarm sound in an area. This uses another resource called PlayCustomSounds, a standalone resource used to play external sounds. This resource integrates with Discord and sends notifications to a channel upon Alarm Activations or Deactivations.

The alarm included as part of the installation is a British security alarm with a length of 4 seconds. This is played on a loop upon alarm activation.

This may be changed, however must be named "alarm" in an ogg format and be at a length of 4 seconds.

Usage

In game, use /alarm to activate the alarm. The distance is not changeable and is set at 30.0. This is a good distance to cover most locations in game, including stores, nightclubs and more.

To deactivate the alarm, use /alarm.

Installation

  1. Create a new folder in server resources named "activatealarm". Inside the folder place the "Client.net.dll", "notification.lua" and "fxmanifest.lua".
  2. To enable Discord Integration, create a new Webhook on your server and select the channel. Open "notification.lua" and enter the Webhook ID at the top. If you do not want Discord Integration, set "enabled" to false at the top. Do not edit anything below. Recommended webhook image here.
  3. In server.cfg, add "ensure activatealarm" or "start" if on an older server version.
  4. Ensure you have PlayCustomSounds installed on the server. Download here.

PlayCustomSounds

In the "Sound" folder in master, you will find the "alarm.ogg" file. This needs to be placed in html/sounds/ location in the PlayCustomSounds resource.

Errors and Bugs

There are no recorded errors or bugs at this time, however create a pull request or create an Issue if you encounter any, and they will be resolved.

Suggestions are also highly appreciated.

Licence

GNU General Public License v3.0

Please see the licence file for more information.

Profile Picture創作者為 LondonStudios. Show more

此創作者的其他模組

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...