mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
Feat: add sAdmin sync role compatibility
This commit is contained in:
parent
55f5b99094
commit
1a7c6a2a14
|
@ -38,6 +38,8 @@ function gmInte.wsPlayerUpdateGroup(data)
|
||||||
if SAM then SAM:PlayerSetRank(data.steamID64, data.group) end
|
if SAM then SAM:PlayerSetRank(data.steamID64, data.group) end
|
||||||
// xAdmin
|
// xAdmin
|
||||||
if xAdmin then xAdmin.SetRank(data.steamID64, data.group) end
|
if xAdmin then xAdmin.SetRank(data.steamID64, data.group) end
|
||||||
|
// sAdmin
|
||||||
|
if sAdmin then RunConsoleCommand("sa", "setrankid", data.steamID, data.group) end
|
||||||
// maestro
|
// maestro
|
||||||
if maestro then maestro.userrank(data.steamID64, data.group) end
|
if maestro then maestro.userrank(data.steamID64, data.group) end
|
||||||
// D3A
|
// D3A
|
||||||
|
|
Loading…
Reference in New Issue
Block a user