Feat: add sAdmin sync role compatibility

This commit is contained in:
Linventif 2024-08-28 20:44:04 +00:00
parent 55f5b99094
commit 1a7c6a2a14

View File

@ -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