Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local oldPlayerSet = FAdmin.Access.PlayerSetGroup
- function FAdmin.Access.PlayerSetGroup(ply,group)
- if not FAdmin.Access.Groups[group] then return end
- ply = isstring(ply) and FAdmin.FindPlayer(ply) and FAdmin.FindPlayer(ply)[1] or ply
- local SteamID = type(ply) ~= "string" and IsValid(ply) and ply:SteamID() or ply
- if SteamID then
- zarpTime.setPlayerTimeRank(SteamID, group)
- end
- return oldPlayerSet(ply,group)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement