hook.Add( "PlayerAuthed", "Announce Joins", function( ply, steamid, uniqueid )
if ply:GetUserGroup() == "superadmin" then
ULib.tsayColor( _, "", white, "[", announce, "VG Connect", white, "] OWNER ", name_col, ply:Nick(), white, " {", red, ply:SteamID(), white, "} has joined the Server." )
else
ULib.tsayColor( _, "", white, "[", announce, "VG Connect", white, "] ", name_col, ply:Nick(), white, " {", red, ply:SteamID(), white, "} has joined the Server." )
end
end )
hook.Add( "PlayerDisconnected", "Announce Leaves", function( ply )
if ply:GetUserGroup() == "superadmin" then
ULib.tsayColor( _, "", white, "[", announce, "VG Disconnect", white, "] OWNER ", name_col, ply:Nick(), white, " {", red, ply:SteamID(), white, "} has left the Server." )
else
ULib.tsayColor( _, "", white, "[", announce, "VG Disconnect", white, "] ", name_col, ply:Nick(), white, " {", red, ply:SteamID(), white, "} has left the Server." )
end
end )