mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 22:36:03 +01:00
Update main.lua
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
------------------------------------------------------------------------
|
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
||||||
------------------------------------------------------------------------
|
|
||||||
-- DO NOT EDIT IF YOU DON'T KNOW WHAT YOU'RE DOING --
|
|
||||||
-- --
|
|
||||||
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6 --
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
local background = config.backgrounds[math.random(1, #config.backgrounds)]
|
local background = config.backgrounds[math.random(1, #config.backgrounds)]
|
||||||
local started = true
|
local started = true
|
||||||
local priorityText = nil
|
local priorityText = nil
|
||||||
@@ -281,7 +276,6 @@ if config.enablePriorityCooldown then
|
|||||||
AddEventHandler("returnPriority", function(priority)
|
AddEventHandler("returnPriority", function(priority)
|
||||||
priorityText = nil
|
priorityText = nil
|
||||||
for _, departmentName in pairs(config.canSeePriority) do
|
for _, departmentName in pairs(config.canSeePriority) do
|
||||||
print(departmentName)
|
|
||||||
if departmentName == mainDepartment then
|
if departmentName == mainDepartment then
|
||||||
priorityText = priority
|
priorityText = priority
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user