[Release] Fire/EMS Pager + Fire Siren Resource

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:

  • The ability to add details to the end of the /page command, which appear in text chat
  • /cancelpage, plays a sound and displays a message indicating the call has been canceled

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