mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 14:57:33 +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
|
||||
// xAdmin
|
||||
if xAdmin then xAdmin.SetRank(data.steamID64, data.group) end
|
||||
// sAdmin
|
||||
if sAdmin then RunConsoleCommand("sa", "setrankid", data.steamID, data.group) end
|
||||
// maestro
|
||||
if maestro then maestro.userrank(data.steamID64, data.group) end
|
||||
// D3A
|
||||
|
|
Loading…
Reference in New Issue
Block a user