Can Someone Help With Attempt To Get Length Of Nil Value (field ' ')

local function isAdmin(source)

local _source = source

local xPlayer = ESX.GetPlayerFromId(_source)

local group = xPlayer.getGroup()

for i=1, #Config.AdministrativeGroups do

    if (group == Config.AdministrativeGroups[i]) then

        return true

    end

end

return false

end

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.