From c44b71b4af30b002398f3012c817d18fd17aa2b1 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Sat, 26 Feb 2022 22:54:12 +0100 Subject: [PATCH] Update commands.lua fixed issue with priority cooldown and updated aop script --- ND_Core/source/server/commands.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ND_Core/source/server/commands.lua b/ND_Core/source/server/commands.lua index a555abe..d5ebc1a 100644 --- a/ND_Core/source/server/commands.lua +++ b/ND_Core/source/server/commands.lua @@ -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