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

Last updated