Files
esx_core/modules/job_police/server/main.lua
T
2020-05-11 19:23:02 +02:00

9 lines
383 B
Lua

local self = ESX.Modules['job_police']
if self.Config.EnableESXService then
TriggerEvent('esx_service:activateService', 'police', self.Config.MaxInService)
end
TriggerEvent('esx_society:registerSociety', 'police', 'Police', 'society_police', 'society_police', 'society_police', {type = 'public'})
TriggerEvent('esx_phone:registerNumber', 'police', _U('alert_police'), true, true)