Closed Doxylamin closed 2 years ago
If applied, this PR changes the channel restrictions. New restrictions can be created and applied to multiple jobs.
Config.RestrictedChannels = { -- -- Syntax Reference -- [targetChannel] = { playerJob = true, playerJob = true, }, -- -- Examples -- -- Make a channel accessible only for police [482] = { -- channel 482 police = true }, -- Make a channel accessible for police and ambulance [456] = { police = true, ambulance = true } }
I was going to fork to fix the fact that the ems is classed wrong in the if for restricted channels but this is a much better and modular solution.
If applied, this PR changes the channel restrictions. New restrictions can be created and applied to multiple jobs.