[Release] Fire/EMS Pager + Fire Siren Resource

Inferno Collection: Fire/EMS Pager + Fire Siren

Build Status
Public Beta Version 4.54

The Fire/EMS Pager + Fire Siren is a resource that allows players to have a pager on their person at all times. The pager is turned off by default, and must be tuned to tones in order to be paged. Once a tone or tones are paged, pagers tuned to these tones will receive the tone/s; if a tone is paged that a player is tuned to, they will hear a vibration sound and a notification will pop-up on their screen informing them of the call type, if a player is not tuned to a paged tone they will hear the tone sound, but not hear a vibration or receive a notification.

The fire siren allows a custom siren to be sounded at any of the fire stations around the map (custom stations for the fire siren, as well as custom tones for the pager can also be added to the resource). Once sounded, a siren can be heard within a predefined radius per station, and the further from the origin of the siren a player is, the quieter it will sound for them. Multiple sirens can be added, allowing you to choose which stations have what siren sound.

In the case of the pager, multiple tones can be tuned to, and paged at once; for the fire siren, multiple stations can be sounded at once as well. Once tones are being paged, or a siren sounded, they must finish completely before more tones are paged or sirens sounded, as tones cannot be paged over other tones, and sirens cannot be sounded over other sirens (note however, sirens can be sounded at the same time as tones paged, and vice versa).

The Fire/EMS Pager + Fire Siren resource is not only designed to be as efficient and lightweight as possible, but also to be customizable, and allow server owners to have as much control as possible over the resource, without the need to edit any code (with the exception of the configuration).
Presently, the following can be customized:

  • Tones
  • Stations
    • Including different sirens per station.
  • Radius fire siren can be heard in per station
  • Department name in messages
  • Default /page message
  • Wait time between tones played
  • Whether to display chat suggestions
  • Whether to display messages at all.
    • I.E. disable all messages for realism.
  • Which players can use which command (via a whitelist)
  • Choice of three whitelist options:
    1. Steam ID based JSON file
    2. Ace Permissions
    3. No whitelist

Resource Showcase Video (Showing Version 4.2)


Installation Video (Showing Version 4.2)


Download Link

Pictures

Click here to see pictures

image

image

image

image

image

lower

Here’s a cute cat because you took the time to look at the pictures :sunglasses:


Check out the Wiki for an installation guide, as well as to find out how to use the resource.

If you have any troubles, suggestions, feedback, etc, please check the Wiki and/or create a new issue on GitHub.

Thank you to everyone that helped test this resource.

The Inferno Collection Team

Team Members
23 Likes

Reserved for updates
Public Beta Version 4.54
Added

  • New audio system, based off of the one used in the Pass Alarm resource.
    • The new system allows for multiple sounds to be heard on the client at once if needed (such as overlapping siren radiuses), regardless however, it is more efficient than the previous system.
    • Using the new audio system, we have also added the ability to have multiple different sirens for stations. You can choose which siren a station should use in the config.

Changed

  • Variable names in NUI Messages to match project standards.

Removed

  • A lot of unneeded comments, making the files much sorter.

Public Beta Version 4.51
Added

  • Option to disable all messages, for realism.
  • Toggleable reminder for whitelisted players to enable their pagers.

Fixed

  • A bug regarding the whitelisting command.

Public Beta Version 4.5
Added

  • Per station Fire Siren radiuses
    • Each station now has its own, configurable, radius within which its siren can be heard.
  • Ace Permissions
    • Ace Permissions are now available as an alternative whitelisting option to the whitelist.json file.
  • Whitelist command
    • /pagerwhitelist has not been added, to reload, and add people to, the whitelist.
    • Only works with the whitelist.json file, not with Ace Permission. See here for more information.
  • Whitelist reload when the resource is restarted.
  • Travis CI to assist in QA (https://travis-ci.com/inferno-collection/Fire-EMS-Pager).

Changed

  • When a tone is paged, only people tuned to the tone will hear that tone.
    • For example, if Player A is tuned to fire, and Player B is tuned to fire and medical, and medical is paged, only Player B will hear and see the page, whereas if fire is paged, both Player A and B will hear and see the page.
  • Within the whitelist.json file, now only the commands that a player needs access to need to be listed within their whitelist entry; any commands not listed will be assumed false.
  • Overall code overhaul, to make sure code falls within standard conventions.
  • Several sections of codes to improve efficiency and speed.
  • /cancelpage now requires specific tones, and also allows for the passing of details.

Fixed

  • An issue whereby people who did not have a pager enabled, were able to page tones over the top of already playing tones, because they were not needing to wait the same amount of time as people with enabled pagers, before being able to play more tones.
  • Typos

Public Beta Version 4.4
Added:

Changed:


Public Beta Version 4.38
Added:

  • Sperate configuration at the top of the resource to alleviate confusion
  • Wiki page on how to sound the fire siren from an external resource

Updated:

  • The wiki, with the new configuration in-mind

Fixed:

  • A few typos in the resource
  • Broken links on the wiki (sorry!)

Removed:

  • Some unneeded natives to improve resource speed

Public Beta Version 4.37
Updated:

  • The wiki page on whitelisting


Changed:

  • Wording on whitelist to remove confusion around steam hex ids.

Fixed:

  • A bug where the volume for the fire siren was being set before the sound was being played, resulting in a non-critical error.

Public Beta Version 4.35
Added:

  • Option to enable/disable chat suggestions
  • Per command whitelist, via whitelist.json file

Changed:

  • Commented rest of files properly
  • Rewrote notification system
1 Like

Thank you for releasing this! I’ve been following this project and have been waiting for the release. Seriously excellent work!

2 Likes

Loving the cat.

1 Like

Some nice stuff you have here!

1 Like

First of all, Damn good work, this works exactly as described on first test. Is there any way to make it so that we can do /page ??

That would be super helpful so they know where to respond to after getting apparatus.

1 Like

Custom sounds arent working. I even replaced the preset ones and they arent changing. I followed the tutorial it still plays the default pager.

Thanks for the kinds words firstly; as for adding a location, that’s not very realistic, so I most likely won’t add it to the main resource, that being said, drop me a message and I’ll happily do my best to customize your copy of the resource so it does this for you :smiley:

Did you have the server turned off at the time, and have you tried clearing the server cache before starting it again?

So ive been thinking about this system for like the past 2 hours and i think you could add some awesome things to it. Im gonna send you a DM and chat with you about it more as if you like the stuff i say i dont wanna giveaway the cool things that could be added.

1 Like

Now live on GitHub

1 Like

I did

That is strange, could you create a new issue on GitHub for me and I’ll try to help you fix it :slight_smile:

love the script!! it is an amazing piece of work you have done! I do have one question. It seems that i can only page it once. do i have to wait a certain amount of time before using it again? i wait for the tones to finish and give it another 2 minutes and still will say paging in process.

1 Like

I have put my Steam ID in and everytime i type /pager fire it tells me i am not whitelisted to perform this action… What am i doing wrong?

Thanks :slight_smile:

As for the issue you are having, I am afraid I cannot replicate it :confused: Have you modified the code by chance? Either way, if you create a new issue on GitHub I’ll be happy to try and help you further :smiley:

Sorry Michael, this is my fault. I am use to calling the steam hex id ‘steam id’ for short, and it did not occur to me others would not know what I am talking about. I will update both the resource, and the Whitelisting wiki page ASAP with the correct information :+1:

Now available on GitHub

1 Like

nice man! this alternative for limiting job :smiley: can put all job member steam id’s, and can use. Really nice job!

1 Like

Thank you very much, ill give it another shot!

1 Like