From f47cc3fb69c058b583e5d89069a61cc3edca2cb4 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Wed, 13 Sep 2017 21:29:57 +0200 Subject: [PATCH] feat(society): register the society witht the new system (#18) * feat(society): register the society witht the new system * Update main.lua --- server/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/server/main.lua b/server/main.lua index 3f00b8b2..a20a550e 100644 --- a/server/main.lua +++ b/server/main.lua @@ -7,6 +7,7 @@ if Config.MaxInService ~= -1 then end TriggerEvent('esx_phone:registerNumber', 'police', _U('alert_police'), true, true) +TriggerEvent('esx_society:registerSociety', 'police', 'Police', 'society_police', 'society_police', 'society_police', {type = 'public'}) RegisterServerEvent('esx_policejob:giveWeapon') AddEventHandler('esx_policejob:giveWeapon', function(weapon, ammo)