GMD_Scripts
  • INFORMATION
  • 🥵GMD_ChipChallenge
    • Install on Server
    • ⚙️Config
    • HowTo Add own Chips
  • 📡GMD_WalkieTalkie
    • 🗜️Install on Server
    • ⚙️Config
  • 🛬GMD_Entry
    • 🗜️Install on Server
    • ⚙️Config Script
  • 🪖GMD_ArmySystem
    • Installation
    • Troubleshooting
    • Configuration
      • Basic Config
      • Crafting Config
      • Raid Config
      • Server Config
    • API Developer
      • Events
      • functions
  • 🎅GMD_Christmas
    • ⚙️INSTALLATION
    • 🎮USAGE
  • 🏛️GMD_ServerWealthEngine
    • Install
    • Server Tax
      • Job Tax
      • Vehicle Tax
      • QS-Scripts
        • qs-billing
      • ESX Scripts
        • esx_billing
      • myScripts
        • myBilling
    • Server Vault Settings
      • QS-Scripts
        • qs-fuelstations
        • qs-housing
      • MyScripts
        • myShops
        • myWeaponshop
        • myVehicleshop
        • myProperties
        • myVehicleshop
      • ESX Scripts
        • esx_weaponshop
        • esx_shops
        • esx_vehicleshop
  • 📽️GMD_Loadingscreen
    • Loadingscreen Configs
      • Config Styles
      • Config LUA
      • SteamAPI Config
      • Use MyMultichar
    • Install on Server
      • Install
  • 🏦Database - Debian 10
  • 🏦Database- Debian 11
    • server console commands
Powered by GitBook
On this page
  1. GMD_ArmySystem
  2. API Developer

Events

Here are all clientside triggers listed for the Army system

Raid

With this trigger you open the doors for all the players for the raid. (You need to use this trigger serverside)

TriggerClientEvent('GMD_ArmySystem:OpenRaidDoorsforPlayers', -1, true)

With this trigger you close the doors for all the players for the raid. (You need to use this trigger serverside)

TriggerClientEvent('GMD_ArmySystem:OpenRaidDoorsforPlayers', -1, false)

With this trigger you start the waiting time until the players can start a new raid Config.RaidTimeoutAfterStarted. (You need to use this trigger serverside)

TriggerClientEvent('GMD_ArmySystem:OpenRaidDoorsforPlayers', -1, 'StartWaitForNewRaid')

With this trigger you stop the timer of the raid until a player can restart the raid again. (You need to use this trigger serverside)

TriggerClientEvent('GMD_ArmySystem:OpenRaidDoorsforPlayers', -1, 'CanStartNewRaid')

With this trigger you can start the alarm. (You can use this event clientside and serverside)

--Client
TriggerServerEvent('GMD_ArmySystem:StartArmyAlarmServer')

--Server
TriggerEvent('GMD_ArmySystem:StartArmyAlarmServer')

With this trigger you can stop the alarm. (You can use this event clientside and serverside)

--Client
TriggerServerEvent('GMD_ArmySystem:StopArmyAlarmServer')

--Server
TriggerEvent('GMD_ArmySystem:StopArmyAlarmServer')

Soon more...

PreviousAPI DeveloperNextfunctions

Last updated 2 years ago

🪖