【发布时间】:2021-04-27 05:22:23
【问题描述】:
我需要一些帮助,将 Player:SetUserGroup 添加到单独的脚本中。目前我正在尝试做的是,一旦“测试”完成,用户将被列入 ulx 组的白名单。
这是目前的样子。任何帮助将不胜感激!!!
net.Receive("Player:SetUserGroup"), function(len, ply)
if not IsValid(ply) or not ply:IsPlayer() then return end
if ply.ADLTable["GoodResponse"] >= (ADLTableCount*ADL.CompletePourcent)/100 then
Player:SetUserGroup( clonetrooper )
end
end )
【问题讨论】:
标签: lua garrys-mod