mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:47:34 +00:00
Feat: add Nor Admin Mod for GMod compatibility
This commit is contained in:
parent
0ca3e89ed4
commit
aab464b3ff
|
@ -48,6 +48,8 @@ function gmInte.wsPlayerUpdateGroup(data)
|
||||||
if Mercury then RunConsoleCommand("hg", "setrank", data.steamID, data.group) end
|
if Mercury then RunConsoleCommand("hg", "setrank", data.steamID, data.group) end
|
||||||
// FAdmin
|
// FAdmin
|
||||||
if FAdmin then RunConsoleCommand("fadmin", "setaccess", data.steamID, data.group) end
|
if FAdmin then RunConsoleCommand("fadmin", "setaccess", data.steamID, data.group) end
|
||||||
|
// Nor Admin Mod for GMod
|
||||||
|
if nordahl_cfg_3916 then RunConsoleCommand("add_staff", data.steamID64, "\"" .. data.steamID .. "\"", "\"" .. data.group .. "\"") end
|
||||||
gmInte.log("[Sync Role] Player " .. data.steamID .. " has been updated to group " .. data.group)
|
gmInte.log("[Sync Role] Player " .. data.steamID .. " has been updated to group " .. data.group)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user