Air Raid Sirens V3

Air Raid Sirens!

A guide to install Air Raid Sirens v3! for FiveM


Table of contents
  1. Installation Tutorial
  2. Purchasing the resource
  3. Downloading the resource
  4. Installing the resource
  5. Export functions
  6. Support

Installation Tutorial

Youtube! Watch this installation tutorial video:

Installation Tutorial

Purchasing the resource

Find this product at:

Base: https://store.nights-software.com/package/5030134

Downloading the resource

Download this resource via https://keymaster.fivem.net/asset-grants.

Installing the resource

Note: Always make sure when you transfer files to your server you follow this order: (Otherwise you will experience parsing errors in F8 console.)

ZIP Package -> Unpack in a folder on your local machine -> drag from local machine into the server resources folder -> server.cfg (ensure script) and then boot up the server.
  1. Drag the resource into your resources folder.

  2. Ensure or start all resources in server.cfg. Example:
    ensure night_air_raid_sirens
    
  3. Configure /config/config.lua.

Export functions

  1. Use this export function to trigger the Air Raid Sirens from another (server side) script.

  2. Example:

    exports['night_air_raid_sirens']:TriggerAirRaidSirens(src, soundFileName) -- Toggle automatically -> So on when off. Off when on.
    exports['night_air_raid_sirens']:ToggleAirRaidSirens(soundFileName, true) -- Force on or off.
    

    Example of a soundFileName: "air-raid-siren"

Support

Read through the instructions again if you have not managed to install the resource. Can’t get it to work still? Create a ticket through our dedicated support system in Discord:

Nights Software Discord


Back to top

Copyright © 2024 Nights Software

Page last modified: Feb 16 2022 at 06:00 PM.