hardcode settings that should never be changed

This commit is contained in:
edshot99 2024-04-23 19:35:18 -05:00
parent 452de8547a
commit 7afeac6fdd

View File

@ -538,6 +538,8 @@ end)
net.Receive("nadmod_ppconfig",function(len,ply)
if not ply:IsValid() or not NADMOD.IsPPAdmin(ply) then return end
NADMOD.PPConfig = net.ReadTable()
NADMOD.PPConfig["toggle"] = true
NADMOD.PPConfig["adminall"] = false
NADMOD.Save()
NADMOD.Notify(ply, "Settings received!")
end)