mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 22:06:02 +01:00
Update commands.lua
fixed issue with priority cooldown and updated aop script
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
||||
|
||||
local aop = config.defaultAop
|
||||
------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------
|
||||
-- DO NOT EDIT IF YOU DON'T KNOW WHAT YOU'RE DOING --
|
||||
-- --
|
||||
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6 --
|
||||
------------------------------------------------------------------------
|
||||
------------------------------------------------------------------------
|
||||
|
||||
if config.enableAopCommand then
|
||||
local priority = "Priority Status: ~g~Available"
|
||||
local aop = config.defaultAop
|
||||
RegisterNetEvent("getAop")
|
||||
AddEventHandler("getAop", function()
|
||||
local player = source
|
||||
@@ -30,6 +34,7 @@ if config.enableAopCommand then
|
||||
end
|
||||
|
||||
if config.enablePriorityCooldown then
|
||||
local priority = "Priority Status: ~g~Available"
|
||||
RegisterNetEvent("getPriority")
|
||||
AddEventHandler("getPriority", function() -- update priority
|
||||
local player = source
|
||||
|
||||
Reference in New Issue
Block a user