Advertisement
AnonGaming

Untitled

Jan 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. local oldPlayerSet = FAdmin.Access.PlayerSetGroup
  2.        
  3.         function FAdmin.Access.PlayerSetGroup(ply,group)
  4.             if not FAdmin.Access.Groups[group] then return end
  5.             ply = isstring(ply) and FAdmin.FindPlayer(ply) and FAdmin.FindPlayer(ply)[1] or ply
  6.             local SteamID = type(ply) ~= "string" and IsValid(ply) and ply:SteamID() or ply
  7.            
  8.             if SteamID then
  9.                 zarpTime.setPlayerTimeRank(SteamID, group)
  10.             end
  11.            
  12.             return oldPlayerSet(ply,group)
  13.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement