From 2788bedc1337e95d108dad455093dd5de181e77c Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Sat, 26 Feb 2022 16:42:08 +0100 Subject: [PATCH] Update main.lua --- ND_Core/source/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ND_Core/source/client/main.lua b/ND_Core/source/client/main.lua index 9964f88..a160325 100644 --- a/ND_Core/source/client/main.lua +++ b/ND_Core/source/client/main.lua @@ -29,7 +29,7 @@ Citizen.CreateThread(function() if IsPedOnFoot(ped) or IsPedInVehicle(ped, GetVehiclePedIsIn(ped, false), false) then print("^0This framework is created by ^5Andyyy#7666 ^0for support you can join the ^5discord: ^0https://discord.gg/Z9Mxu72zZ6") for departmentName in pairs(config.departments) do -- if you have an error that says attempt to index a nil value (global 'config') it's beacuse you have edited the config wrong. - TriggerServerEvent("checkPerms", config.departments[departmentName]) -- check permissions for each department with the department names. + TriggerServerEvent("checkPerms", departmentName) -- check permissions for each department with the department names. end TriggerServerEvent("getCharacters") Citizen.Wait(100)