mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-19 06:46:03 +01:00
Update main.lua
This commit is contained in:
@@ -29,7 +29,7 @@ Citizen.CreateThread(function()
|
|||||||
if IsPedOnFoot(ped) or IsPedInVehicle(ped, GetVehiclePedIsIn(ped, false), false) then
|
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")
|
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.
|
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
|
end
|
||||||
TriggerServerEvent("getCharacters")
|
TriggerServerEvent("getCharacters")
|
||||||
Citizen.Wait(100)
|
Citizen.Wait(100)
|
||||||
|
|||||||
Reference in New Issue
Block a user